README update

This commit is contained in:
Adam Štrauch 2024-08-08 01:34:21 +02:00
parent 0f1cac531e
commit 5126b9c3db
Signed by: cx
GPG Key ID: 7262DAFE292BCE20
2 changed files with 15 additions and 0 deletions

12
README.md Normal file
View File

@ -0,0 +1,12 @@
# Home energy calculator of spot market prices
This project is an API that provides endpoints to give you easily processable data from Czech spot market.
To run it yourself run this:
```
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
fastapi dev calculator/main.py --reload
```

View File

@ -3,6 +3,9 @@
version: '3' version: '3'
tasks: tasks:
dev :
cmds:
- fastapi dev calculator/main.py --reload
deploy: deploy:
cmds: cmds:
- ssh -p 11335 app@ssh.rosti.cz mkdir -p /srv/app/cache - ssh -p 11335 app@ssh.rosti.cz mkdir -p /srv/app/cache