Go to file
2019-05-01 18:38:02 +03:00
ansible Add project 2019-05-01 18:38:02 +03:00
Docker Add project 2019-05-01 18:38:02 +03:00
mysite Add project 2019-05-01 18:38:02 +03:00
rates Add project 2019-05-01 18:38:02 +03:00
.gitignore Initial commit 2018-09-12 22:27:48 +03:00
db.sqlite3 Add project 2019-05-01 18:38:02 +03:00
manage.py Add project 2019-05-01 18:38:02 +03:00
PUBLISH Add project 2019-05-01 18:38:02 +03:00
README.md Add project 2019-05-01 18:38:02 +03:00
requirements.txt Add project 2019-05-01 18:38:02 +03:00

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