Documentation update
This commit is contained in:
+3
-2
@@ -9,11 +9,12 @@ python3-hunspell:0.5.5-2build6
|
|||||||
uwsgi-core:2.0.20-4
|
uwsgi-core:2.0.20-4
|
||||||
uwsgi-plugin-python3:2.0.20-4
|
uwsgi-plugin-python3:2.0.20-4
|
||||||
apache2:2.4.52-1ubuntu4.2
|
apache2:2.4.52-1ubuntu4.2
|
||||||
|
python3-requests:2.25.1+dfsg-2
|
||||||
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
======
|
======
|
||||||
This software expects to be installed at /opt/kjv-api/
|
This software expects to be installed at /opt/kjv-api/ (for uwsgi use on a reverse proxy)
|
||||||
This installation method is intended to play nice among other Virtual Hosts
|
This installation method is intended to play nice among other Virtual Hosts
|
||||||
|
|
||||||
0. Install dependancies listed at the head of this document.
|
0. Install dependancies listed at the head of this document.
|
||||||
@@ -43,4 +44,4 @@ This installation method is intended to play nice among other Virtual Hosts
|
|||||||
- It is up to you to use https or not, but if you know nginx or haproxy you should be able
|
- It is up to you to use https or not, but if you know nginx or haproxy you should be able
|
||||||
to set up local proxying to the WSGI server that runs the flask.
|
to set up local proxying to the WSGI server that runs the flask.
|
||||||
- There are WSGI modules for apache avaliable, which may be better for larger scaled
|
- There are WSGI modules for apache avaliable, which may be better for larger scaled
|
||||||
deployments, but http proxying to the local uwsgi served flask works fine.
|
deployments, but http proxying to the local uwsgi served flask works fine for smaller uses.
|
||||||
|
|||||||
+13
-5
@@ -41,32 +41,37 @@ CONTENTS
|
|||||||
│ ├── kjv.aff - KJV Spellchecking Description file (hunspell)
|
│ ├── kjv.aff - KJV Spellchecking Description file (hunspell)
|
||||||
│ ├── kjv.db - KJV sqlite3 database
|
│ ├── kjv.db - KJV sqlite3 database
|
||||||
│ └── kjv.dic - KJV Spellchecking dictionary file (hunspell)
|
│ └── kjv.dic - KJV Spellchecking dictionary file (hunspell)
|
||||||
|
│ └── seq.db - Sqlite3 Database with user's ids for sequenced scripture
|
||||||
|
│ └── shortcodes.db - Sqlite3 Database with saved shortcodes for scripture groups.
|
||||||
├── favicon.ico
|
├── favicon.ico
|
||||||
├── html
|
├── html
|
||||||
│ ├── dictionary.html - dictionary search landing page /define
|
│ ├── dictionary.html - dictionary search landing page /define
|
||||||
│ ├── find.html - unified search bar landing page /find
|
│ ├── find.html - unified search bar landing page /find
|
||||||
│ ├── header.html - navigation bar added programatically to rich results
|
│ ├── navbar.html - navigation bar added programatically to rich results
|
||||||
│ ├── heaven.html - Bible way to heaven, static page /salvation
|
│ ├── heaven.html - Bible way to heaven, static page /salvation
|
||||||
|
│ ├── on_reading_bible.html - Introduction on good reading practices
|
||||||
│ ├── index.html - / landing page with unified search bar
|
│ ├── index.html - / landing page with unified search bar
|
||||||
│ ├── reader.html - not yet implemented Bible browser end point
|
│ ├── reader.html - not yet implemented Bible browser end point
|
||||||
│ ├── reading_plan.html - not yet implemented Bible reading plan generator
|
│ ├── reading_plan.html - not yet implemented Bible reading plan generator
|
||||||
│ ├── response.html - Template for rich verse responses
|
│ ├── response.html - Template for rich verse responses
|
||||||
│ ├── search.html - Bible keyword search landing page /search
|
│ ├── search.html - Bible keyword search landing page /search
|
||||||
|
│ ├── search_bar.html - Unused
|
||||||
│ ├── show.html - Bible verse search landing page /show
|
│ ├── show.html - Bible verse search landing page /show
|
||||||
|
│ ├── seq.html - Bible sequential verse landing page /seq
|
||||||
│ └── votd.html - Matty's test VOTD rich landing page
|
│ └── votd.html - Matty's test VOTD rich landing page
|
||||||
├── install
|
├── install
|
||||||
│ ├── apache.site.conf.example - example installation configuration
|
│ ├── apache.site.conf.example - example installation configuration
|
||||||
│ └── kjv-api.service - example systemd service file
|
│ └── kjv-api.service - example systemd service file
|
||||||
├── INSTALL.txt - installation instructions
|
├── INSTALL.txt - installation instructions
|
||||||
|
├── logs - log folder (populated at runtime - there is NO log rotation)
|
||||||
├── js
|
├── js
|
||||||
│ └── collapsible.js - js for the definition drop-down menu used in unified search
|
│ └── collapsible.js - js for the definition drop-down menu used in unified search
|
||||||
├── kjv-api.sh - runs flask app on port 1611
|
├── kjv-api.sh - runs uwsgi flask app on port 1611
|
||||||
├── kjv-api-test.sh - runs flask app on port 1612
|
├── kjv-api-test.sh - runs uwsgi flask app on port 1612
|
||||||
├── media
|
|
||||||
│ └── kjv_background.jpg - Matty's test rich media
|
|
||||||
├── README.txt - This document
|
├── README.txt - This document
|
||||||
├── styles
|
├── styles
|
||||||
│ ├── collapsible.css
|
│ ├── collapsible.css
|
||||||
|
│ ├── header.css
|
||||||
│ ├── fonts
|
│ ├── fonts
|
||||||
│ │ ├── Arizonia-Regular.ttf
|
│ │ ├── Arizonia-Regular.ttf
|
||||||
│ │ └── Parisienne-Regular.ttf
|
│ │ └── Parisienne-Regular.ttf
|
||||||
@@ -75,6 +80,9 @@ CONTENTS
|
|||||||
│ └── votd.css
|
│ └── votd.css
|
||||||
└── tools
|
└── tools
|
||||||
└── av1611_dictionary_scraper.py - builds a dictionary json for the 1828 dictionary
|
└── av1611_dictionary_scraper.py - builds a dictionary json for the 1828 dictionary
|
||||||
|
└── sanity_check.py - Integrated during runtime and also as endpoint testing when run alone.
|
||||||
|
└── search_keywords.txt - endpoint testing queries
|
||||||
|
└── sanity_results.txt - results of running sanity_check.py as a standalone
|
||||||
|
|
||||||
AUTHOR
|
AUTHOR
|
||||||
======
|
======
|
||||||
|
|||||||
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB |
Reference in New Issue
Block a user