- Enable storage on S3
- Derivate differently the password for Seald and Backend
- Enable multi-tab
- Postgres support
Environment variable | Default | Value |
---|---|---|
DJANGO_SECRET_KEY | get_random_secret_key() |
Secret key use by Django |
STORAGE_METHOD | fs |
fs |
STORAGE_FS_BASE_DIR | ./data/ |
If fs storage method is used, location of uploaded files |
STORAGE_FS_STATIC_URL | /data |
|
SEALD_APP_ID | None | Seald API Key / Secret / Configuration. See article |
SEALD_VALIDATION_KEY | None | Seald API Key / Secret / Configuration. See article |
SEALD_VALIDATION_KEY_ID | None | Seald API Key / Secret / Configuration. See article |
SEALD_JWT_SHARED_SECRET_ID | None | Seald API Key / Secret / Configuration. See article |
SEALD_JWT_SHARED_SECRET | None | Seald API Key / Secret / Configuration. See article |
Docker volume | Description |
---|---|
/app/data/ |
Location of uploaded files when using fs storage method |
/app/backend/db/ |
Location of SQLite database |
git clone XXXX
cd XXXX
docker build --build-arg SEALD_APP_ID=XXX -t seald/encrypted-upload .
docker run --rm -it -p 8000:8000 seald/encrypted-upload
(don't forget to set SEALD_APP_ID
)
Go to http://localhost:8080/
git clone XXXX
cd XXXX
- Go to backend folder:
cd backend
- Install requirements:
pip install -r requirements
- Migrate database:
python manage.py migrate
- Run dev server:
python manage.py runserver
- Do all backend tasks
- Go to frontend folder:
cd frontend
- Install requirements:
npm install
- Start dev server:
npm run