Update packaging.

This commit is contained in:
Leo Vasanko
2023-10-15 11:00:29 +03:00
committed by Leo Vasanko
parent 46cfc831ff
commit 27b89d6d38
4 changed files with 42 additions and 31 deletions

View File

@@ -3,13 +3,10 @@
Development install:
```sh
python -m venv .venv # Create virtual env
. .venv/bin/activate
pip install -e . # Editable install
sanic cista --reload --dev # Runs on localhost:8000
pip install hatch --break-system-packages
hatch run sanic cista --reload --dev # Runs on localhost:8000
```
Environment variable `STORAGE=<path>` may be used to choose which folder it serves. The default is current directory.
No authentication is supported, so implement access control externally or be careful with your files.