Initial commit

This commit is contained in:
2025-03-18 13:52:10 +01:00
commit 69d1383c50
5 changed files with 215 additions and 0 deletions

23
README.md Normal file
View File

@@ -0,0 +1,23 @@
staticshield session proxy
==========================
## Running it locally
Create a file (e.g., called `run.sh`) with the following:
```bash
#!/bin/bash
export FLASK_SERVE_DIR="/home/YOURUSER/workspace/somesite/build/html"
export FLASK_MOTHERSHIP="http://localhost:8888/api/staticshield"
export FLASK_SESSION_COOKIE_NAME="staticshield"
flask --app staticshield run
```
## ruff check and fix
```bash
ruff check --fix --select I .
```