Sexy Django backend.
The fastest way to run the backend using SQLite database without all Celery workers for background jobs. This should be enough for quickstart:
git clone https://github.com/vtb-hack3/vtbhack3.git
cd vtb-hack3Create virtual environment (optional)
python3 -m venv vtb_venv
source vtb_venv/bin/activateInstall all requirements:
pip install -r requirements.txt
Create .env file in root directory and copy-paste this:
DJANGO_DEBUG=True
DATABASE_URL=sqlite:///db.sqlite3Run migrations to setup SQLite database:
python manage.py migrateCreate superuser to get access to admin panel:
python manage.py createsuperuserIf you want to open Django admin panel which will be located on http://localhost:8000/vtbadmin/:
python manage.py runserver