-
Notifications
You must be signed in to change notification settings - Fork 0
Home
lance13c edited this page Apr 27, 2017
·
7 revisions
- Install NodeJS and MongoDB on your computer. This probably means you run
sudo apt install nodejs mongodb
on ubuntu- The app is currently on version 6.10.1 of node
- Open a terminal, go to the project directory
- Execute
npm install
- Next, I think you need to install gulp and bower globally via npm, so run
npm install -g gulp
andnpm install -g bower
- Run
bower install
to install the frontend dependencies - Next, run
gulp
to "build" the code - If you are starting from an empty database, you also need to run
npm run setupSchools
, which will run a script to populate the database with all the schools in the U.S. - Run
npm start
to start your server
A .env file will need to be created in the root directory. This is used to define configurations for the database.
.env file layout:
DB_USER=
DB_PASS=
DB_SECRET=