- Node 2.14.4 or above
- Clone
pitagoras-server
from github repository. - Add fallback values in
index.js
- Open a terminal window on project folder.
- Run
npm run start
command.
- Open a terminal window.
- Run
open ~/.bash_profile
command. - Copy this text at the bottom of the file
# ----------------------------------
# PITAGORAS ENV VARIABLES
# ----------------------------------
export MASTER_KEY=masterKeyValue
- Go to
Settings
tab in Herouku app. - On
Config variables
section, click inReveal Config Vars
and copy the value forMASTER_KEY
variable. - Replace
masterKeyValue
with the value you just copied. - Save and close
bash_profile
file. - Run
source ~/.bash_profile
command.
- Open a terminal window on project folder.
- Run
./dashboard.sh
command. - Open your web browser and go to
localhost:4040
.