|
|
||
|---|---|---|
| seduttomachineworks_project | ||
| templates | ||
| .gitignore | ||
| Dockerfile | ||
| Pipfile | ||
| Pipfile.lock | ||
| README.md | ||
| manage.py | ||
| requirements.txt | ||
README.md
Qoute Upload Box
More could actually go in here! But for now this is just an advanced upload box. Configurable with some server-side storage (a little) and an email system.
Allows somewhat large uploads, some text for qoutes, drawings, etc. And keeps things simple-ish!
uses sqlite3 stored alongside the customer files.
Development
pipenv run python manage.py runserver
Compose Example
services:
web_upload:
image: git.kitsunehosting.net/kenwood/smw-upload:latest
volumes:
- /var/seduttomachineworks/data:/app/store
ports:
- "8000:8000"
environment:
- SECRET_KEY=your-very-secret-production-key
- ALLOWED_HOSTS=yourdomain.com,localhost,127.0.0.1
restart: always
Building and pushing notes
docker build -t git.kitsunehosting.net/kenwood/smw-upload:latest . --load
docker push git.kitsunehosting.net/kenwood/smw-upload:latest
(obviously you have to be me to do this)