Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.
/ DispatchWebBoard Public archive

Dispatch Interface for FuelRats operations

License

Notifications You must be signed in to change notification settings

FuelRats/DispatchWebBoard

Repository files navigation

DispatchWebBoard

Build Status GitHub version

The Official FuelRats rescue info tracking application.

Deployment (How do I use this thing again?)

It is recommended that users wishing to just use the board should use the official live version instead of running their own.

Setting up the DWB for your own uses requires oauth client registration with the Fuel Rats API. If you wish to develop and test against a live server, contact Clapton on the FuelRats IRC. ( IRC Web Client / irc.fuelrats.com:+6697 ) The following guide assumes you have already done so, and have already registered your client.

Prerequisites

  • Node.js & NPM (for building the app)
  • A Web Server (We recommend NGINX)

Setup

  1. Clone the repo git clone https://github.com/FuelRats/DispatchWebBoard.git
  2. install dependencies
    • npm install
  3. Configure
    • Duplicate and rename app.prod.config_example.js to app.prod.config.js, then open it.
    • Refer to documentation in the example file to properly configure the config file.
  4. Build
    • npm run build
  5. Setup NGINX
    • Either copy the generated "deploy" directory to a directory on your webserver, or point the webserver directly to it.

After this, load the page from the server and ensure that it's working correctly. If you can login and get rescues, then all should be running properly.

Contributing

PRs are always welcome! If you wish to see open issues, visit the FuelRats JIRA (Project key: DWB)

See our CONTRIBUTING.md before developing for the Dispatch Web Board.

Notes for Development

  • We use gulp for our build tasks. We recommend you install gulp-cli (npm i -g gulp-cli) to build the project for development, however npm run gulp works as well.
  • Use gulp default or gulp when building for development.
  • This project's gulpfile has a rsync runner which is ran during the postBuild phase. To use it, setup the rsync.config.js file first, then activate it by using the --deploy flag.
  • the gulp --production flag activates uglifyJS, cleans up any calls to window.console.debug(), and removes any code wrapped in /* DEVBLOCK:START */ and /* DEVBLOCK:END */.

Dependencies / Packages

Build Dependencies

Libraries