Visualize, study, and discover the provenance of books
npm install
You can either do this using a local mongo instance or the remote one.
mongod &
Create a .env
file and add the mongolab uri(?). This is a local environment variables file that contains sensitive information; thus .env
is not to be tracked remotely. If you've set this up properly you won't need to run anything else. The following line in app.js
will automatically determine which instance of mongo to run.
uri = process.env.MONGOLAB_URI || 'localhost';
then navigate to http://localhost:5000
.
node app.js
then navigate to http://localhost:6789
.
heroku local web
To push your changes to the production server, merely run:
git push heroku master
Note: Do ensure you've pulled and pushed to this repo first though.
To see a live log of the production server run:
heroku logs --tail