|
@@ -37,11 +37,19 @@ docker-compose up
|
|
|
|
|
|
## Debian Bullseye
|
|
|
|
|
|
+Just install a few packages from the standard repositories, and you're set. No pip, virtualenv, …
|
|
|
+
|
|
|
```
|
|
|
apt install python3-fastapi python3-dotenv uvicorn
|
|
|
-uvicorn pizzicore:app --reload --port 8000 --host 0.0.0.0
|
|
|
+env QUEUES_NUMBER=2 uvicorn pizzicore:app --reload --port 8000 --host 0.0.0.0
|
|
|
```
|
|
|
|
|
|
+In the snippet above, you can see how to set variables on the commandline. See `pizzicore.env.sample` for a list of settings.
|
|
|
+
|
|
|
+You can also create a `pizzicore.env` file (named exactly like that) as a configuration method.
|
|
|
+
|
|
|
+Environment variables take precedence over configuration files.
|
|
|
+
|
|
|
## TODO
|
|
|
|
|
|
* configurazione
|