By: Adam Leung, Amrit Thind, Arshi Annafi, Brian Pattie, and Travis Wilson
The machine must have:
This section outlines steps to start our web application.
On a Windows machine:
- First time: Before starting the database,
you must ensure that
C:\data\dbexists. Please manually create all required folders.
-
Start the database by running
mongod.exeon a command prompt.- This ".exe" file is found in the MongoDB installation directory:
C:\Program Files\MongoDB\Server\3.2\bin.
- This ".exe" file is found in the MongoDB installation directory:
-
Before running our server, install all dependencies by running
npm install. -
Start our server by running the
server.jsfile.- From a separate command prompt window, run
node server.jsfrom thego-project-serverfolder.
- From a separate command prompt window, run
-
From a browser of your choice, browse
localhost:30154
You can also save the following commands saved in a .bat file and run from the root directory (go-project-server) of our web app.
start cmd /k "C:\Program Files\MongoDB\Server\3.2\bin\mongod.exe"
node server.js
Made with ❤ in Victoria. Summer 2016.