**Ke**lder **R**egistratie **S**ysteem
Find a file
2020-07-30 13:35:47 +02:00
events Translate link to edit page 2020-07-30 13:35:47 +02:00
KeRS Add static config 2020-07-25 15:07:06 +02:00
oauth Remove unneeded code 2020-07-25 13:06:54 +02:00
scripts Format script 2020-07-25 12:25:20 +02:00
static Make 'Uitschrijven' button red to distinct enrolled events 2020-07-27 20:17:55 +02:00
templates Add specific kers header to privacypolicy link 2020-07-28 19:17:33 +02:00
users Use regular buttons instead of inputs for better accessibility 2020-07-27 20:17:28 +02:00
.editorconfig Add editorconfig 2020-07-22 01:46:38 +02:00
.gitignore add initial models 2020-07-21 22:24:45 +02:00
docker-compose.yml Add static config 2020-07-25 15:07:06 +02:00
Dockerfile Add specific versions for docker images 2020-07-24 22:40:38 +02:00
Makefile Remove migration rewriting from Makefile 2020-07-26 00:58:47 +02:00
manage.py Initial commit 2020-07-21 21:20:23 +02:00
README.md Add development environment docs in README 2020-07-25 12:40:57 +02:00
requirements.txt add django beat stuff 2020-07-22 04:22:05 +02:00
web.env Add static config 2020-07-25 15:07:06 +02:00

KeRS - Kelderregistratiesysteem

Development

Install Python and virtualenv if not already available.

Choose between:

  • SQLite3 (easier to set up, works because we don't do advanced DB shizzlery or custom SQL yet)
  • MySQL/MariaDB (used in production, less chance of weird bugs due to compatibility problems between SQLite3 and MariaDB)

If you choose SQLite3, set the environment variable KERS_DB_BACKEND to sqlite3. To do so, you can add export KERS_DB_BACKEND=sqlite3 to your shell's init file (e.g. ~/.bashrc) and restart your shell.

If you choose MySQL/MariaDB, set up the server, and look in KeRS/settings.py for the possible environment variables you can set (e.g. DATABASE_NAME).

Set up the development environment:

python -m virtualenv venv
venv/bin/pip install -r requirements
make migrate

To run the development server:

make