The project was restarted in go https://git.gnous.eu/gnouseu/plakken
This repository has been archived on 2023-10-10. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Ada fb4dc23574
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline failed
add(backend): health check
2023-10-01 13:15:44 +02:00
.woodpecker fix(ci): pip refuse to install requirements, pass the good option 2023-09-26 11:46:38 +02:00
paste add(backend): health check 2023-10-01 13:15:44 +02:00
.gitignore fix(gitignore): ignore pychache 2023-09-26 11:19:33 +02:00
docker-compose-dev.yml add: docker support 2023-10-01 13:05:03 +02:00
docker-compose.yml add: docker support 2023-10-01 13:05:03 +02:00
Dockerfile add: docker support 2023-10-01 13:05:03 +02:00
LICENSE add(front): expiration time field 2023-09-26 11:32:42 +02:00
pyproject.toml remove(lint): deprecated format option 2023-10-01 13:03:55 +02:00
README.md add: readme 2023-09-30 15:45:29 +00:00
requirements-dev.txt update(deps): improve dev deps 2023-09-28 20:52:22 +00:00
requirements.txt add(front): expiration time field 2023-09-26 11:32:42 +02:00

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).