aboutsummaryrefslogtreecommitdiff
path: root/README-bgstack15.md
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-02-12 12:07:05 -0500
committerB. Stack <bgstack15@gmail.com>2022-02-12 12:09:13 -0500
commitbd134ed333278f33c9b5596ef5df2501ee648bb1 (patch)
tree6c4dbcec2cd71f15c43c20b3ca505941041af928 /README-bgstack15.md
parentuse app.config for salt (diff)
downloadstackbin-bd134ed333278f33c9b5596ef5df2501ee648bb1.tar.gz
stackbin-bd134ed333278f33c9b5596ef5df2501ee648bb1.tar.bz2
stackbin-bd134ed333278f33c9b5596ef5df2501ee648bb1.zip
add admin page, delete function, and APPNAME var
The admin can view the links to private pastes, and can delete pastes from the web console. For now, the admin page is not protected, so this is not production-ready.
Diffstat (limited to 'README-bgstack15.md')
-rw-r--r--README-bgstack15.md31
1 files changed, 28 insertions, 3 deletions
diff --git a/README-bgstack15.md b/README-bgstack15.md
index 10815e2..e0cd9bc 100644
--- a/README-bgstack15.md
+++ b/README-bgstack15.md
@@ -1,17 +1,42 @@
+<!--
+ -- Filename: README-bgstack15.md
+ -- Startdate: 2022-02-11
+ --
+ -->
+# Overview
+This is my proposed solution to my pastebin problem.
+
+# Features
+
+* Admin page which can list parents, children, and provide link to delete pastes.
+* Editable titles
+* "Reply to" pastes to make parent/children relationships
+* UUIDs instead of sequential integer ID numbers
+* Private pastes (accessible to admin, and to users with the whole link)
+
# Instructions
Generate new db.
python3 initdb.py
-Run server.
+Run server in development mode.
FLASK_APP=pastebin.py FLASK_DEBUG=True flask run --host='0.0.0.0'
# Improvements
-I still need to practice these:
+I still need to work on these tasks:
+
+## Development
+
+* Protect the /admin/ page
+* Add expiry of pastes? (use existing pubdate value, or just an extra column with desired expiration timestamp)
+
+## Release
-* Support deleting somehow: from an admin panel, or a link on the page?
+* Read any of my flask projects (fuss is the best one) to learn how to setup prod server
+* Document centos7 dependencies
+* Deploy to prod
# Alternatives
bgstack15