Skip to content

Registration web app for a juggling convention in Herxheim

License

Notifications You must be signed in to change notification settings

timhabermaas/herxheim2018

Folders and files

NameName
Last commit message
Last commit date

Latest commit

834713e · Feb 26, 2019

History

56 Commits
Sep 10, 2018
Oct 9, 2018
Sep 10, 2018
Jul 21, 2018
Aug 5, 2018
Jul 21, 2018
Feb 26, 2019
Jul 21, 2018
Sep 10, 2018
Jul 21, 2018
Feb 26, 2019
Feb 26, 2019

Repository files navigation

Herxheim2018

Build Status

Installation

$ stack setup
$ stack build

Run the server

$ createdb herxheim2018
$ env PORT=8080 SLEEPING_LIMIT=120 CAMPING_LIMIT=50 ADMIN_PASSWORD=admin DATABASE_URL='postgres://localhost/herxheim2018' stack exec herxheim2018-exe

Environment variables

The following environment variables need to be set:

  • DATABASE_URL (string): A PostgreSQL database connection string
  • PORT (number): The port the web server should run on
  • ADMIN_PASSWORD (string): The password for the HTTP basic authentication protected admin area
  • SLEEPING_LIMIT (number): The maximum number of people allowed to sleep in the gym/class rooms
  • CAMPING_LIMIT (number): The maximum number of people allowed to camp

Run the tests

$ createdb herxheim2018_test
$ env DATABASE_URL='postgres://localhost/herxheim2018_test' stack test

Deployment

The application is currently deployed to Heroku. For deployment run:

$ git remote add heroku https://git.heroku.com/herxheim2018.git
$ git push heroku master

About

Registration web app for a juggling convention in Herxheim

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published