- Clone the repository by entering the command
git clone https://github.com/FrankDupree/koment-blog.git - Open another terminal and run the command
mongod(MongoDB must be installed). - Navigate to the project folder using
cd koment-blogon your terminal (or command prompt) - Install the application's dependencies with the command
npm install. - Run the application using the command
npm start. - Visit
http://localhost:3000/on your favourite browser.
- Create a folder called
datain the root directory of the koment-blog folder. - create two additional files named
comment-data.jsonanduser.data.jsonrespectively. - Head over to this gist and copy the contents into their respective files.
- Navigate to the project folder using
cd koment-blogand runseed.sh. This will populate your mongoose database with users and comments. - To share your data with others, run
export.sh.
Frank Akogun