-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevconfig.example.js
More file actions
38 lines (37 loc) · 1.42 KB
/
devconfig.example.js
File metadata and controls
38 lines (37 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
* This file contains specifications for configurations needed to properly run the Elections service.
* NOTE: please do not commit this file to any public repo. It is included in the current .gitignore.
*
* Configuration details:
* - 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
* https://cms.union.rpi.edu 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
* - email: settings required to connect to an SMTP relay
*/
module.exports = {
db: {
host : 'localhost',
user : 'root',
password : ''
},
db_name: 'rpielections',
cms: '',
service_url: 'http://localhost:3000',
session_secret: 'super secret key',
cas_dev_mode: false,
cas_dev_mode_user: '',
elecnoms_url: 'http://127.0.0.1:3001',
email: {
username: '',
password: '',
from: 'Elections Comission <union-elections@rpi.edu>',
host: '',
secure: true,
port: 465
}
};