Initial commit
This commit is contained in:
23
README.md
Normal file
23
README.md
Normal 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 .
|
||||
```
|
||||
Reference in New Issue
Block a user