24 lines
442 B
Markdown
24 lines
442 B
Markdown
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 .
|
|
```
|