From 6641c28ab2109277ed9e15559d3ecdc10cc5b807 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Fri, 11 Feb 2022 18:54:56 -0500 Subject: Fix dep problem so flask>=2.0.0 now! By just writing a new initdb command so we don't need manage.py anymore. --- README-bgstack15.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'README-bgstack15.md') diff --git a/README-bgstack15.md b/README-bgstack15.md index 398d629..34137f5 100644 --- a/README-bgstack15.md +++ b/README-bgstack15.md @@ -1,6 +1,27 @@ +# Instructions + +Generate new db. + + python3 initdb.py + +Run server. + + FLASK_APP=pastebin.py FLASK_DEBUG=True flask run --host='0.0.0.0' + +# Improvements +I still need to practice these: + +* Support editing the title? +* Fix the private bins problem: they always return 403 +* Support deleting somehow: from an admin panel, or a link on the page? +* use UUIDs for link instead of sequential integers? + # Alternatives ## Unresearched https://github.com/yasoob/logit-bin https://github.com/AWilliams17/PasteMate https://github.com/bsamadi/flask-pastebin + +## Attempted +https://github.com/Tygs/0bin sounds cool but it uses a stack I'm unfamiliar with and it had some issues and I didn't want to bother with it. -- cgit