~nprescott/glue-boy

ref: 2b49357fe5591ab555d10650209a4046ced98294 glue-boy/README.org -rw-r--r-- 822 bytes
2b49357f — Nolan Prescott Better exception handling practice 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
* What the fork?
  This is a fork (of a fork) of the [[https://github.com/NPrescott/glue-boy][original glue-boy]], a stupidly simple
  pastebin. This is an async implementation using ~SQLite~ rather than the
  filesystem.

** installation
   this iteration of ~glue-boy~ is built on [[https://github.com/twisted/klein][Klein]] and Python 3.6 (for ~async def~
   and ~f~-strings)

   #+BEGIN_EXAMPLE
   pip install -r requirements.txt
   #+END_EXAMPLE

   and then  and you're off and running

   To initialize the database (required):

   #+BEGIN_EXAMPLE
   sqlite3 glues.sqlite <schema.sql
   #+END_EXAMPLE

** cleanup
   ~cleanup.sh~ is intended to delete all pastes not accessed in more than a
   week - throw that on a crontab.

   N.B. ~cleanup.sh~ relies on being in the same directory as the
   ~glues.sqlite~ file