Runs on Windows 10 and above
- Node v6.3.0 and above (https://nodejs.org/en/)
- MongoDB (https://www.mongodb.com/)
- NPM file manager (usually comes with node)
- Clone the repository from Github (git@github.com:nus-mtp/steps-networking-module.git)
- Run
npm installat the root of the repository - Run
gulpfrom the command line - Access the web application with the port displayed on the command line e.g. localhost:3000 when the port displayed is Port 3000.
Ensure that you have set path environment for ease of running MongoDB (https://superuser.com/questions/949560/how-do-i-set-system-environment-variables-in-windows-10)
- Run MongoDB with
mongodin the console - Run Mongo Client with
mongoin the console - Run
gulpfrom the root directory in the command line
gulp buildClientto build client side codegulp buildServerto build server side codegulpbuilds both client and server codegulp full-convertto populate database with all STePS past datagulp active-convertto populate database with all STePS active data