Skip to content

marshallNorman/meandmountains

Repository files navigation

Me & Mountains site

##Stack

  • Grunt
  • Assemble for static templates
  • Bower for 3rd party libraries
  • ES6 + Babel

Installation/Setup

Frontend Build

  • Requires node/npm (installation instruction)
  • Install Grunt globally (npm install -g grunt-cli)
  • Install NPM packages from the root of the project (npm install)

Usage

Run the following commands from withing the project:

  • grunt - Runs a dev build
  • grunt server - Runs a local server and watch task
  • grunt watch - Runs a watch task on front-end assets

Deployment

We are deploying with Mina and CircleCI.

Setup

  • gem install bundler - Install Bundler if not already installed
  • bundle install - Run this from the root of the project to install dependencies

Deploy

Run these commands from within the project root.

Known Issues

If you run into an ssh error something like: Received disconnect from 72.9.40.135: 2: Too many authentication failures you are probably sending too many keys at the server.

To fix this, creat a ~/.ssh/config entry on your machine that looks like this:

Host 72.9.40.135
  User u86086779
  PreferredAuthentications password

The PreferredAuthentications is the important bit here. It makes ssh prompt for a password before prompting for keys.

Contributing

  • Prefix commit messages with one of (ie. "feat: add new slider widget"):
    • feat: When adding a feature/improvement
    • fix: When fixing code
    • refactor: When refactoring code
    • docs: When adding/updating documentation
    • test: When creating/updating tests
    • style: When making code style changes
    • chore: When doing anything else not directly related to code (ie. changes to your build)