Media Reviews Database API โ collecting reviews of mediacontent.
Expandable and Flexible The Media Review Database collects user feedback on mediacontent.
DB_ENGINE=django.db.backends.postgresql
DB_NAME=postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
DB_HOST=db
DB_PORT=5432
Clone the repository:
git clone https://github.com/zakharovvladimir/infra_sp2.git
Creating and activating the virtual environment:
python3 -m venv venv
source /venv/Scripts/activate
Set the dependencies:
pip install -r requirements.txt
Raising containers:
docker-compose up -d --build
Performing migrations:
docker-compose exec web python manage.py migrate
Creating a superuser:
docker-compose exec web python manage.py createsuperuser
Collecting statics:
docker-compose exec web python manage.py collectstatic --no-input
Create a database dump:
docker-compose exec web python manage.py dumpdata > fixtures.json
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Feel free to contact: [email protected] github.com/zakharovvladimir