Online OTT platform streaming backend web application.
- Python 3.8
- PostgreSQL 13
git clone https://github.com/mbrsagor/streaming.git
cd streamingCreate a Python virtual environment:
virtualenv venv --python=python3.8
pip install psycopg2-binary
Activate it:
source env/bin/activate
|--> .env-sample
|--> .envpip install -r requirements.txt
./manage.py makemigrations accounts
./manage.py migrate accounts
./manage.py migrate
./manage.py runserver
./manage.py createsuperuserOpen your terminal, then run the command for docker
docker compose upIf you want to migrate or something similar, please follow the commands below:
docker-compose exec backend sh
python manage.py makemigrations accounts
python manage.py migrate accounts