Worker for pulling data from remote HM sensors.
In the root of Pull, execute pip install -r requirements.txt
.
- Edit
alembic.ini
. Replace the defaultsqlalchemy.url
with yours. - (optional) Edit
migrations/env.py
. Findtarget_metadata = Base.metadata
and replace with your metadata. cd
to the root of Puller. Then type commandalembic revision --auto-generate -m 'your comment'
.- Execute
alembic upgrade head
Note: You need to execute Step 3 and Step 4 every time you change the models.