- Python 3 (python 3.9 is used for develop environment)
- Pip (if you would like to use virtualenv)
-
Goto project dir
-
Install
virtualenv
pip install virtualenv
-
Create
virtualenv
for this projectvirtualenv .env
-
Activate
virtualenv
source .env/bin/activate
-
Deactivate
virtualenv
deactivate
-
Goto project dir
-
Run pip command to install
make install-requirements
-
Goto project dir
-
Start the app
make run
-
Goto project dir
-
Build image
make docker-build
-
Run application with
docker-compose
cd docker docker-compose up -d
-
Login Grafana UI at http://localhost:3000 with username
admin
and passwordadmin
-
Setup a notification channel with these information:
- Type:
Webhook
- URL:
http://host.docker.internal:5000/grafana
(Running with docker-compose) - Optional Webhook settings:
- Http Method:
POST
- Username:
grafana
- Password:
grafana
- Http Method:
- Type: