Skip to content

installation: CLI

Dingensen edited this page Jan 28, 2020 · 4 revisions

Step by step instructions to get the application started

  • Open the command line

navigate to the folder where the repository/project is located and install the dependencies.

cd {your project path}
npm install
  • Open a second command line

set the path of your mongod.exe and set your project folder as the database path

"your mongod.exe path" --dbpath="your project path"
  • Open a third command line

run mongo

mongo
  • Go back to the first command line

create a package.json file, and run the application

npm start
  • For the final step, open your browser

access the application through the following URL

localhost:3000/geomergency

Clone this wiki locally