Service for shortening links and file sharing, with the ability to register to track the statistics of created links and files.
https://python-course.sadmadsoul.dev
- SECRET_KEY: Your secret key for django application.
- ALLOWED_HOST: Optional, standard value = 127.0.0.1
- EMAIL_HOST: Email from which the server will send confirmation emails.
- EMAIL_HOST_PASSWORD: Email password.
export CELERY_BROKER_URL="redis://127.0.0.1:6379"
docker-compose -f docker-compose.test.yml -d --build
cd src
coverage run -m pytest
coverage report --rcfile=.coveragerc
docker-compose -f docker-compose.test.yml down
docker-compose -f docker-compose.yml -d --build
Server will be available at this url http://localhost:8282/
or http://127.0.0.1:8282/