Skip to content

nusmodifications/nusmods-launchpad

Repository files navigation

NUSMods Launchpad

Deployment dashboard for NUSMods - https://launch.nusmods.com

Demo

Installation

$ git clone https://github.com/nusmodifications/nusmods-launchpad
$ cd nusmods-launchpad
$ yarn
$ cp config.example.js config.js

Configure config.js:

  1. Create GitHub OAuth app and replace config with app ID and secret.
  2. You can also ask for our development ID and secret if you don't want to create one yourself
  3. If desired, create Slack app and replace config with API token and target channel IDs.

Development

$ yarn start
$ open http://localhost:3000

Deployment

  1. Configure nusmods-launchpad.service
  2. sudo systemctl link $PWD/nusmods-launchpad.service. Assumes $PWD is on the root file system. See man systemctl
  3. sudo systemctl enable nusmods-launchpad.service
  4. sudo systemctl start nusmods-launchpad.service

Maintenance

If you update the nusmods-launchpad.service config file, run sudo systemctl daemon-reload.

If NUSMods Launchpad is updated, run sudo systemctl restart nusmods-launchpad.

License

MIT