TKOaly / kjyr-new-service

New registration system for KJYR
1 stars 0 forks source link

Build Status

Mayhem

KJYR registration system.

DON'T PUSH INCOMPLETE STUFF TO MASTER SINCE IT WILL BE DEPLOYED ON THE PRODUCTION SERVER

Editing site content

Go to src/config/ and open the localization.js file.

Configuring constants

Go to src/config/ and open the config.js file.

Setting up a devenv

  1. Get Node.js
  2. Clone this repository
  3. Run npm install --dev in the repository root directory.
  4. Set up a MySQL server
    • Create a new schema
  5. Define the required ENV variables
    • KJYR_DB_HOST
    • KJYR_DB_USER
    • KJYR_DB_PASSWORD
    • KJYR_DB_NAME
    • KJYR_COOKIE_SECRET
    • KJYR_DBG_PORT
  6. Run npm start (Sometimes this has to be ran twice to create the DB relations correctly)
  7. Run npm run-script create-admin to create a admin user.

Future imporvements