RWTH Aachen University - Master thesis
Pre-requisities:
- MongoDB
- NodeJS
- npm
Install and run MongoDB
https://docs.mongodb.org/manual/installation/
For Mac OS:
brew install mongodb
mkdir -p /data/db
sudo mongod
Install command line tools
npm install -g gulp
npm install -g bower
npm install -g coffee-script
Install dependencies
npm install
bower install
Update config file
cp /src/config-example.coffee /src/config.coffee
vim /src/config.coffee
Add a valid host.
Run pre-script compiler
gulp build
Run the application
gulp
Now you can use the FootPrint
Open app.coffee
file and change port:
app.listen 80
Install pm2
npm install -g pm2
Run application
pm2 start app.coffee
- Install and run Apache
- Setup a virtual host, directory should reffer to the
demo
folder