##Stack
- Grunt
- Assemble for static templates
- Bower for 3rd party libraries
- ES6 + Babel
- Requires node/npm (installation instruction)
- Install Grunt globally (
npm install -g grunt-cli
) - Install NPM packages from the root of the project (
npm install
)
Run the following commands from withing the project:
grunt
- Runs a dev buildgrunt server
- Runs a local server and watch taskgrunt watch
- Runs a watch task on front-end assets
We are deploying with Mina and CircleCI.
gem install bundler
- Install Bundler if not already installedbundle install
- Run this from the root of the project to install dependencies
Run these commands from within the project root.
-
mina deploy
- Deploy to the staging environment: http://new.meandmountains.com -
mina deploy on=production
Deploy to the production environment: http://meandmountains.com
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.
- 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)