You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fancy Installation Instructions for the Cooper Lab
//Create Keys
ssh-keygen -t rsa
//Login to Heroku
heroku login
//Clear your previous keys
heroku keys:clear
heroku keys:add //Choose the id_rsa key.
//Go to the directory you checked out your git files
cd ~/desktop/cooper-union-erin/
//Create a new heroku instance
heroku create
//Push your code to heroku
git push heroku master
Additional Useful Heroku Commands
//After creation, rename your app to something you care about
heroku apps:rename <new app name>
//Rather than create a new app each time, re-open one that you've named correctly.
heroku git:remote --app <app name>
//Emulated cron interface
heroku addons:add scheduler
MongoDB Setup Instructions
//Storage Setup
//More information can be found here: https://devcenter.heroku.com/articles/mongolab
//add mongolab
heroku addons:add mongolab
//Login to heroku.com to manage your mongodb
https://dashboard.heroku.com/apps/<app name>/resources
Click on "open api view"
Copy the resource url
Use the heroku_app<app number> and apiKey attributes in the mongoUtil example.
Running your application locally on your personal machine
//assuming you have node installed, install the dependencies for this particular application
npm install
//launch the local node application, by default at http://localhost:5000
foreman start