Refactor all machine configs to read from a config file
Closed this issue · 2 comments
ricky-wong commented
All (repeated) channel-specific code should be removed, in favor of keeping all configs in some kind of config file.
Something like the following
const locations = [
{
id: 'round1-sanjose'
name: 'Round 1 San Jose'
cookie: ['M573SSID-cookie-goes-here']
timeZone: 'America/Los_Angeles'
},
{
id: 'dnb-milpitas'
name: 'D&B Milpitas'
cookie: 'M573SSID-cookie-goes-here'
timeZone: 'America/Los_Angeles'
}
];
note that cookie
can be a string or an array of strings (representing multiple e-amusement accounts, representing multiple machines at a single location)
ricky-wong commented
Need to update README
ricky-wong commented
README update in #34