Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 492 Bytes

README.md

File metadata and controls

17 lines (16 loc) · 492 Bytes

Travel_Blog

Heroku

The app is deployed here: http://fast-mesa-14311.herokuapp.com/

For Start

I use Linux Ubuntu 14.04

In folder Blog-master create new folder data and in folder data create folder db -> data/db. Open a terminal and set the path to the folder Blog-master, after that:

 npm install
 sudo service mongod stop
 mongod --dbpath data/db

Open a new tab in the terminal:

 export DATABASEURL=mongodb://localhost/blog_post
 node app.js