Website for Encontro Nacional de Estudantes de Informática.
- Install latest version of NodeJS from here.
- Create Google developer service account with access to Sheets API and place the JSON auth file under '/app/credentials' with the name 'service-creds.json'
- Open directory 'app' in a terminal.
- Run 'npm install' (only required once, or when a module is installed).
- Run 'npm start' (requires restart on file changes).
- Open localhost:8080 on any browser.
- OPTIONAL: use Nodemon (install with 'npm install -g nodemon'), and then run project with 'nodemon app'. This updates the website on file changes, without needing to re-run the command.
Feature management is done via environment variables which are read across the application. Variables should be '1' if the feature is to be enabled. See a usage example in 'util/renderer.js'. Current variables:
- ENEI_dev - if true, ALL features will be enabled
- ENEI_tickets - if true, ticket related sections should be visible