/alakajam

Website for a game dev community

Primary LanguageJavaScriptOtherNOASSERTION

Alakajam!

Current progress: An alpha website with support for events, games and posts/comments. No voting system yet.

Initial setup

Requirement: NodeJS 7.6+

  • npm install
  • node server.js
  • Browse to http://localhost:8000

There is a default admin user (administrator/administrator).

Developer tools

Prerequisite: npm install -g knex standard browser-refresh node-inspector jsdoc mocha

Recommended

  • browser-refresh server.js: Launches the app, and makes the server and browser refresh when needed upon file changes.
  • standard: Validates the code style. Run githooks/install.sh to trigger validation automatically before committing.

Other

  • node-debug server.js: Launches the app in debug mode.
  • npm run-script docs: Generates the JS documentation in the docs/ 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.

Enabling picture resizing

If the sharp dependency failed to install in the initial setup, your picture uploads won't be resized. If you want to fix that: