application for link shortening and daily click tracking
- download the repo
https://github.com/eyuparslana/link_shortener.git
- postgresql
- redis
- You must create a database named shortenerdb you can change the information in the settings file according to your own database
- change to project folder and run command below
pip install -r requirements.txt
./manage.py migrate
./manage.py runserver
- For celery worker run the code below
celery -A link_shortener beat -l INFO
Now you can use the app on localhost:8000
- use on docker
docker-compose up