Sedutto Machineworks Upload Box
Go to file
KenwoodFox 4cdd902b2e Boilerplate yield and back and forth 2025-12-03 13:31:25 -05:00
seduttomachineworks_project Boilerplate yield and back and forth 2025-12-03 13:31:25 -05:00
static Boilerplate yield and back and forth 2025-12-03 13:31:25 -05:00
templates Boilerplate yield and back and forth 2025-12-03 13:31:25 -05:00
.gitignore Inital simple hand-made ver 2025-12-03 12:47:17 -05:00
Dockerfile use whitenoise 2025-12-03 13:10:39 -05:00
Pipfile Boilerplate yield and back and forth 2025-12-03 13:31:25 -05:00
Pipfile.lock Boilerplate yield and back and forth 2025-12-03 13:31:25 -05:00
README.md Add test iframe 2025-12-03 13:00:25 -05:00
manage.py Inital simple hand-made ver 2025-12-03 12:47:17 -05:00
requirements.txt use whitenoise 2025-12-03 13:10:39 -05:00

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)