Platform to exchange concert/event tickets.
Coming soon, docker branch currently WIP.
Before installing project dependencies, make sure you have redis installed.
Install npm dependencies:
cd frontend
npm install
There are two ways to install dependencies for backend
cd backend
pipenv install
cd backend
pip install -r requirements.txt
Again, docker configuration is not done yet...
To run with postgresql instead of sqlite, set DJANGO_DB
to postgres
.
List of environment variables:
Variable | Default |
---|---|
SECRET_KEY |
random |
POSTGRES_HOST |
localhost |
POSTGRES_NAME |
postgres |
POSTGRES_USER |
postgres |
POSTGRES_PASSWORD |
postgres |
POSTGRES_PORT |
5432 |
DJANGO_DB |
sqlite |
REDIS_HOST |
127.0.0.1:6379 |
DJANGO_DEBUG |
True |
Before starting backend, start redis with redis-server
command.
cd backend
python manage.py runserver
Background worker:
python manage.py run_huey
cd frontend
npm run dev
Project is licensed under GPLv3 license.