A project for lectures on SDA on backend technologies subject that I teach.
Version 1.
The app is built with Django.
- Create
.env
file with the following content:
DJANGO_SECRET_KEY="this_is_very_secret"
AWS_ACCESS_KEY_ID=""
AWS_SECRET_ACCESS_KEY=""
AWS_STORAGE_BUCKET_NAME=""
GOOGLE_EMAIL_USER=""
GOOGLE_APP_PASSWORD=""
DEBUG="True"
- Install requirements:
pip install -r requirements.txt
- Apply migrations with the following command:
python manage.py migrate
- Populate database with genres and movies:
python manage.py loaddata viewer_fixtures.json
- Create admin user
python manage.py createsuperuser