These instructions assume your working directory is the root of this repo, where this file is located.
sudo apt install nodejs
sudo npm install --global bower
sudo apt install ruby-full
, then sudo gem install sass
sudo npm install --global grunt
sudo apt install mongodb
npm install
bower install
mongod
to start the database server.
Ctrl-Z
to pause mongod and bg
to resume it in the background (pkill mongod
to stop it later)Ctrl-Shift-T
to open a new terminal tab, leaving mongod in the first tab (Ctrl-C
in that tab to stop it later)grunt serve
to start the web server.
Ctrl-Z
& bg
or Ctrl-Shift-T
../server/config/environment/shared.js
.
./server
in the root of ~/dredd-2019
, not ./dist/server
! prototypes
should be a JSON array of scoring options.