Configurations - wtg/elections GitHub Wiki

The following options are needed for the Elections service to run properly.

  • db: an object containing details on the database connection. For a port other than 3306, add a port attribute with the integer value for your port.
  • db_name: this is the desired name of the database in your MySQL server. Since the db object is used before the database has been created, it's important that the db_name is separate from the db object.
  • cms: the RPI Club Management System API Token issued for the application. To obtain a token, access CMS or contact the Rensselaer Union Systems Administrators.
  • service_url: the url (and port, if not 80) that the user is accessing your app from; used by the RPI Central Authentication System