SMW-Upload/README.md

42 lines
967 B
Markdown

# 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
```shell
pipenv run python manage.py runserver
```
## Compose Example
```yaml
services:
web_upload:
image: git.kitsunehosting.net/kenwood/smw-upload:latest
volumes:
- /var/seduttomachineworks/data:/app/data
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)