This is the backend code for ProninTeam project. For more information about the project, please see site.
[email protected]:Capwell/ProninTeamBack.git
SECRET_KEY=<secret_key>
DB_ENGINE=<django.db.backends.postgresql>
DB_NAME=<db_name>
POSTGRES_USER=<pg_username>
POSTGRES_PASSWORD=<pg_password>
DB_HOST=<localhost>
DB_PORT=<5432>
EMAIL_LOGIN=<email_login>
EMAIL_PASSWORD=<email_password>
TELEGRAM_TOKEN=<tg_token>
TELEGRAM_CHAT_ID=<tg_chatid>
EMAIL_TO=<email_to>
EMAIL_FROM=<email_from>
CAPTCHA_SECRET_KEY=<capthca_secret_key>
docker-compose up -d
sudo docker-compose exec -it backend bash
python manage.py collectstatic --noinput
python manage.py migrate --noinput
python manage.py createsuperuser