51 lines
919 B
Markdown
51 lines
919 B
Markdown
# Tandur
|
|
|
|
Eine Website, die sich von einer selber gehosteten Tandoor-Instanz die Shoppinglist Einträge nimmt, und als Shoppinglist anzeigt.
|
|
|
|
## Inhalt
|
|
- TODO
|
|
- Festlegungen
|
|
- Ablauf
|
|
- Installation
|
|
|
|
|
|
## TODO
|
|
- [ ] Festlegen, welche Maßeinheiten es gibt (Aus CSV)
|
|
- [ ] Festlegen, welche Ingrediants es gibt (Aus CSV)
|
|
- [ ] Next.js -> Frontend ?
|
|
- [ ] Python -> Backend
|
|
- [ ] Implementieren
|
|
|
|
## Festlegungen
|
|
- Database: SQLite3 mit sqlmodel
|
|
- API FastAPI
|
|
- Jinja
|
|
- TailwindCSS + Alpine.js
|
|
???
|
|
|
|
## Ablauf
|
|
- Data fetch from Tandoor via APIs
|
|
- Data fetch from Database
|
|
- View on Website and edit
|
|
- Order vie Mail
|
|
- CSV download *optional
|
|
|
|
## Installation
|
|
### Bare Metal
|
|
#### Linux
|
|
##### Download & Setup
|
|
```
|
|
git clone https://git.schamagusa.de/rudi/Tandur.git
|
|
cd Tandur
|
|
|
|
source .venv/bin/activate
|
|
pip install --no-cache-dir -r requirements.txt
|
|
```
|
|
##### Run
|
|
```
|
|
uvicorn main:app
|
|
```
|
|
### Docker Compose (recomended)
|
|
#TODO
|
|
|