25 lines
453 B
Markdown
25 lines
453 B
Markdown
# 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:
|
|
```sh
|
|
docker-compose up --build -d [--force-recreate]
|
|
```
|
|
(App started on localhost:80)
|
|
|
|
##### Ansible:
|
|
|
|
Update hosts file and run:
|
|
```sh
|
|
ansible-playbook -i hosts deploy.yaml
|
|
```
|
|
|
|
Tested on:
|
|
- Ubuntu 18.04 x64
|
|
- Ubuntu 18.10 x64
|
|
- Ubuntu 19.04 x64
|