The future of chess is now!
cp oauth.client.js.default oauth.client.js
Edit oauth.client.js with your oauth config.
npm i
node app.js
In another terminal:
cd html
http-server # or `python -m SimpleHTTPServer` or any HTTP file server
Now open http://localhost:8080/index.html, you should see the homepage.
MongoDB 3.2.9
NodeJS 6.5.0
co, express, glicko2-lite, mongodb, socket.io, underscore
To deploy restore the RelayChess database using mongorestore
, install node & required dependencies, and launch app.js
.
Ports used: 9090 for login/register express webserver, 3000 for socket server
To register RelayChess as a service, copy relaychess.service
into the system folder then systemctl daemon-reload
.