Configuration files are not included in this repository. You will need to add a file named config.json
to the root folder with the following structure:
{
"mongodb": {
"url": "mongodb://localhost/anonymit"
},
"mailchimp": {
"key": "nope"
},
"email": {
"auth": {
"user": "mailgun-user",
"pass": "mailgun-api-key"
}
},
"session": {
"secret": "abc123"
},
"verenigingen": [
{
"name": "Gewis",
"bus": false
}
]
}
mongodb is the url to the mongodb server
you can optionally set username and pass using URI
"mongodb://user:password@localhost/db"
To generate tickets run `node generate-tickets.js '
You can then view tickets under http://localhost/tickets under an admin account