Old Liikuntoilu service (2006-2015) was shut down. Here is an API to the data.
- node.js and npm
- mysql
- pm2 (or equivalent)
- nginx (or equivalent)
- git clone https://github.com/abulaatikko/liikuntoilu.git
- schema.sql
- cp app/backend/config.sample app/backend/config.js; vim app/backend/config.js
- npm install
- bower install
- grunt dist (dev and test supported as well)
- pm2 start app/backend/server.js --name liikuntoilu-backend --watch app/backend/
- nginx
server {
listen 80;
listen [::]:80;
server_name liikuntoilu.net;
location / {
proxy_pass http://localhost:3001;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}