Skip to content

designagencyfusion/shopping_list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopping list

Basic setup

Setup environment

  • git clone git://github.com/creationix/nvm.git ~/.nvm
  • add . ~/.nvm/nvm.sh to .bash_profile
  • nvm install 0.10.2
  • nvm alias default 0.10.2
  • npm install -g supervisor bower
  • brew install mongodb

Setup project

  • open project folder
  • npm install
  • bower install

Start server

  • mongod (in a separate terminal window/tab)
  • npm start (in a separate terminal window/tab)
  • open http://localhost:4000

Heroku

Set up Heroku account

Create Heroku application & add necessary addons

  • heroku create
  • heroku addons:add mongolab
  • heroku addons:add sendgrid

Set environment variables

  • heroku config:set NODE_ENV=production

Deploy application

  • git push heroku master
  • heroku ps:scale web=1

Open application in browser

  • heroku open

Setup environment for Windows