Fetches and stores currency exchanges from https://openexchangerates.org
Requires python3. Using Homebrew: brew install python3
Setup a virtual environment and install the dependencies:
python3 -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install -r requirements.txtTo run: python main.py
To install dependencies add them to requirements.in and then:
pip install -r requirements.in
pip freeze > requirements.txtRequires:
- fpm:
gem install fpm - GNU tar:
brew install gnu-tar(macOS only)
Run make deploy to deploy to https://oblivion.movercado.org
To deploy somewhere else use the environment variable TO like make deploy TO=oblivion.movercado.dev.
To know which version is deployed run make deployed. It also accepts the environment variable TO.