Open-Source Hackathon Leaderboard
0.1
# Generate API Docs
grunt apidoc
http://linesperbeat.herokuapp.com/
# Server-side testing
npm test
# Client-side testing
grunt build
git clone <repo url>
cd /path/to/repo
# Start up DB
couchdb
# Install server-side dependencies & database structure for development
NODE_ENV=development npm install
# Install server-side dependencies & database structure for production
NODE_ENV=production npm install
# Don't forget to edit your configuration files at lib/config/env/
# Install client-side dependencies
bower install
# Development server startup
grunt serve
# Build for Production
grunt build
mv ./dist /path/to/production/location && cd /path/to/production/location
# Use Node to run
NODE_ENV=production IP=127.0.0.1 PORT=9000 node server.js
# Or use forever (https://github.com/nodejitsu/forever)
NODE_ENV=production IP=127.0.0.1 PORT=9000 forever start server.js