more deployment stuff

This commit is contained in:
Pablo Martin 2024-06-13 19:18:40 +02:00
parent 4626152379
commit f8fb8e6b76
2 changed files with 12 additions and 7 deletions

View file

@ -30,8 +30,8 @@ Once you have done this, you can run:
To be able to write rates into the DWH, take these points into consideration:
- `xexe` expects to find the following: a database called `dwh`, schema called `sync_xedotcom_currencies`. These should already exist before `xexe` runs.
- `xexe` should run with a user that has permission to write into `dwh/sync_xedotcom_currencies` and to create tables. It will create the right tables if it can't find them.
- `xexe` expects to find the following: a database called `dwh`, schema called `sync_xedotcom_currency_rates`. These should already exist before `xexe` runs. You should probably create this schema with the same user that you will use to run `xexe` regularly.
- `xexe` should run with a user that has permission to write into `dwh/sync_xedotcom_currency_rates` and to create tables. It will create the right tables if it can't find them.
- These details are hardcoded in the `constants` module. You might want to refactor them into run-time configuration options if you find yourself having to change them often.
### General Usage