ansible | ||
Docker | ||
mysite | ||
rates | ||
.gitignore | ||
db.sqlite3 | ||
manage.py | ||
PUBLISH | ||
README.md | ||
requirements.txt |
cb_parser
Application gets xml from https://www.cbr-xml-daily.ru/daily_utf8.xml once a day according to schedule and save data to redis. Data is available at the main page.
Deploy:
Docker:
docker-compose up --build -d [--force-recreate]
(App started on localhost:80)
Ansible:
Update hosts file and run:
ansible-playbook -i hosts deploy.yaml
Tested on:
- Ubuntu 18.04 x64
- Ubuntu 18.10 x64
- Ubuntu 19.04 x64