The project was restarted in go https://git.gnous.eu/gnouseu/plakken
Ada
103479668d
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
Co-authored-by: Ada <ada@gnous.eu> Co-committed-by: Ada <ada@gnous.eu> |
||
---|---|---|
.woodpecker | ||
paste | ||
.gitignore | ||
LICENSE | ||
pyproject.toml | ||
README.md | ||
requirements-dev.txt | ||
requirements.txt |
A code share paste
Run
Require redis and python, install python requirements with pip install -r requirements.txt
. Run with flask --app paste run
(add --debug
for devlopement)
You can configure with multiple environnement variables.
- PASTE_REDIS_HOST: redis host (default localhost)
- PASTE_REDIS_PORT: redis port (default 6379)
- PASTE_REDIS_USER: redis username (default none)
- PASTE_REDIS_PASSWORD: redis password (default none)
- PASTE_URL_LENGTH: length for url used by paste
- PASTE_SECRET_KEY: secret key for flask, don't use the default value (generate a safe value with
openssl rand -hex 16
).