Current progress: An alpha website with support for events, games and posts/comments. No voting system yet.
Requirement: NodeJS 7.6+
npm install
node server.js
- Browse to
http://localhost:8000
There is a default admin user (administrator
/administrator
).
Prerequisite: npm install -g knex standard browser-refresh node-inspector jsdoc mocha
browser-refresh server.js
: Launches the app, and makes the server and browser refresh when needed upon file changes.standard
: Validates the code style. Rungithooks/install.sh
to trigger validation automatically before committing.
node-debug server.js
: Launches the app in debug mode.npm run-script docs
: Generates the JS documentation in thedocs/
folder.mocha tests/
: Runs unit tests.DEBUG=express:*
: Enables debugging of routes & performance (must be set before launching the server)
See also the wiki for additional developer documentation.
If the sharp
dependency failed to install in the initial setup, your picture uploads won't be resized. If you want to fix that:
- Follow the instructions to install the sharp dependencies
- Run
nom install
again