This repo is supposed to get statistics from Uber, Bold, Uklon to calculate performance of car cross this aggregators for fleet owners and provide reports via telegram bit for Drivers, Fleet Managers and Fleet Owners.
- Install Docker https://docs.docker.com/engine/install/
- Create a telegram bot using https://t.me/BotFather and get TELEGRAM_TOKEN
- Rename docker-compose_example.yml to docker-compose.yml
- Replace with token given by telegram
- Run
docker-compose up --build pgadmin
- Open http://localhost:5050/browser/ with password:
universal_auto_dev
and create DBuniversal_auto_dev
- Run
docker-compose up --build
- Run migrations by
docker exec -it universal_auto_web_1 python manage.py migrate
- Run to create admin user
docker exec -it universal_auto_web_1 python manage.py createsuperuser
- Open http://localhost:8080/admin/ in browser and auth with user created at step 9
docker exec -it universal_auto_web_1 python manage.py runscript weekly
- Take an issue from the list https://github.com/SergeyKutsko/universal_auto/issues and ask questions
- Fork project and create a new branch from a master branch with the name in the format: issues-12-your_last_name
- After work is finished and covered by tests create a Pull Request with good description what exactly you did and how and add Sergey Kutsko as reviewer.
- After review fix found problems
- Manual QA stage need to be done by other person to confirm solutions works as expected
- We will deploy to staging server to confirm it works in pre-pod ENV
- Merge into master and deploy to production instance.