Opinionated ExpressJS Boilerplate
A good way to start your NodeJS project. Additional flavours available under different branches. Read this awesome blog post that covers what's inside.
P.S. every time someone doesn't star this project, a little koala bear dies somewhere in the woods. Don't be a monster. Star it. Now.
Downloading and updating
It's easier to keep your project up to date if you do the following:
git remote add parent email@example.com:suprMax/express-boilerplate.git
and then you can just:
git pull parent master && git push
brew install node
sudo npm install -g coffee-script nodemon forever bower grunt-cli && cake install
Edit your hosts (optional):
add at the bottom
Vendor dependencies management:
You shouldn't normally care about that, as Cake takes care of it for you.
Compile assets for production:
Just clean up previously created mess:
Build assets for development once
Watch for assets changes
Make sure you have Cakefile configuration updated, otherwise it won't work.
Just push changes to the server without restarting and recompiling: