JSON flat file to sqlite3 data source querying
This commit is contained in:
+7
-6
@@ -7,11 +7,11 @@ verses and a quote of the day.
|
||||
|
||||
EXTERNAL DATA
|
||||
=============
|
||||
The software uses these JSON data stores as external dependancies, saved locally (included)
|
||||
https://github.com/scrollmapper/bible_databases/blob/master/json/t_kjv.json
|
||||
https://github.com/scrollmapper/bible_databases/blob/master/json/key_english.json
|
||||
The software uses a sqlite3 database as external data dependancy, saved locally
|
||||
and modified to remove false Bible translations (included)
|
||||
https://github.com/scrollmapper/bible_databases
|
||||
|
||||
For additional dependancies see INSTALL.txt
|
||||
For software dependancies see INSTALL.txt
|
||||
|
||||
|
||||
INSTALLATION
|
||||
@@ -24,6 +24,7 @@ The program may be invoked by running kjv-api.sh in a non-root account, or via
|
||||
systemd daemon process in a non-root account.
|
||||
Alternately for testing, the program may be run on another port by running:
|
||||
$ uwsgi_python3 --http-socket <listen address>:<port> --wsgi-file /opt/kjv-api/app.py --callable app
|
||||
or by executing kjv-api-test.sh which will listen on 0.0.0.0:1612
|
||||
|
||||
Visiting the base directory will show the user-facing documentation via web browser or cURL.
|
||||
|
||||
@@ -31,11 +32,11 @@ CONTENTS
|
||||
========
|
||||
app.py - main flask program
|
||||
install/ - folder containing sample configurations
|
||||
key_english.json - King James Bible books by index in JSON
|
||||
t_kjv.json - King James Bible in JSON
|
||||
kjv.db - King James Bible database
|
||||
index.html - root document help file - user-facing documentation
|
||||
INSTALL.txt - detailed installation instructions
|
||||
kjv-api.sh - script that properly runs flask through uwsgi
|
||||
kjv-api-test.sh - script that properly runs flask through uwsgi on port 1612 and global listening
|
||||
README.txt - this file
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user