diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-10-25 02:41:46 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-10-30 01:37:35 +0300 |
commit | db784dc98ba0c4e15ee7b501d909425c79c825fb (patch) | |
tree | 68270179f77c95dc49ec4ab62f9305aa651c4cd4 /Makefile | |
parent | 0fce6c52516aba239acc81fd528dcb5051c04f68 (diff) |
web_api: rewrite to aiohttp, drop flask
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,6 +7,7 @@ else USER_PREFIX = $(HOME)/.local endif +# TODO drop or rewrite PROGRAMS = admin_bot inverter_bot pump_bot sensors_bot PROGRAMS += inverter_mqtt_receiver inverter_mqtt_sender PROGRAMS += sensors_mqtt_receiver sensors_mqtt_sender @@ -29,7 +30,7 @@ venv: . ./venv/bin/activate && pip3 install -r requirements.txt web-api-dev: - . ./venv/bin/activate && FLASK_ENV=development python3 src/web_api.py + . ./venv/bin/activate && HK_MODE=dev python3 src/web_api.py install: check-root for name in @(PROGRAMS); do ln -s src/${name}.py $(USER_PREFIX)/bin/$name; done |