Docs: Consolidate admin documentation and migrate reference data
- Created LOCAL_DEVELOPMENT_GUIDE.md and DEPLOYMENT_GUIDE_MANUAL.md from legacy txt files. - Migrated country/time_zone data and requirements.txt to documentation/reference_data/. - Removed redundant admin/documentation/ and admin/data_files/ directories. - Enhanced app/lib_schema_v3.py to explicitly capture 'required' fields from DB 'NOT NULL' constraint. - Added verification tests for schema logic and standalone DB connectivity.
This commit is contained in:
1
documentation/reference_data/country.txt
Normal file
1
documentation/reference_data/country.txt
Normal file
File diff suppressed because one or more lines are too long
74
documentation/reference_data/requirements.txt
Normal file
74
documentation/reference_data/requirements.txt
Normal file
@@ -0,0 +1,74 @@
|
||||
# Updated manually 2024-04-26 with a lot of trial and error.
|
||||
# A few are commented out even though they are actually used and required. Other packages already pull them in.
|
||||
# SQLAlchemy needs to be upgraded to 2.x. There are issues with async IO or something related to that.
|
||||
# https://docs.sqlalchemy.org/en/14/changelog/migration_20.html
|
||||
|
||||
# aioredis # BAD! Not maintained!
|
||||
aiofiles
|
||||
# aiohttp # added 2024-04-24
|
||||
# anyio
|
||||
argon2-cffi
|
||||
argon2-cffi-bindings
|
||||
# asgiref
|
||||
async-timeout
|
||||
baize # added 2023-08-17
|
||||
# certifi
|
||||
# cffi
|
||||
charset-normalizer
|
||||
click
|
||||
Deprecated
|
||||
dnspython
|
||||
email-validator
|
||||
et-xmlfile
|
||||
fastapi==0.95.1 # working 0.94.1, 0.88.0; not working >= 0.95.0, 0.95.1
|
||||
# greenlet>=2.0.2
|
||||
# gevent
|
||||
gunicorn # working >=21.2.0
|
||||
h11
|
||||
html2text
|
||||
httpcore
|
||||
httptools
|
||||
httpx
|
||||
idna
|
||||
itsdangerous
|
||||
# Jinja2>=3.1.2
|
||||
MarkupSafe
|
||||
mysqlclient
|
||||
numpy
|
||||
openpyxl
|
||||
orjson
|
||||
# packaging
|
||||
pandas
|
||||
passlib
|
||||
pdf2image
|
||||
Pillow
|
||||
pycparser
|
||||
pydantic
|
||||
PyJWT
|
||||
pyparsing
|
||||
psutil
|
||||
python-dateutil
|
||||
python-dotenv
|
||||
python-multipart
|
||||
pytz
|
||||
PyYAML
|
||||
qrcode
|
||||
redis[hiredis] # redis==5.0.0 hiredis==2.2.3
|
||||
requests
|
||||
rfc3986
|
||||
six
|
||||
sniffio
|
||||
SQLAlchemy==1.4.52 # working 1.4.52; (2.0.29) I am working with
|
||||
starlette # working ==0.26.1, 0.22.0; not working newest 0.37.2
|
||||
stripe
|
||||
typing_extensions
|
||||
ujson
|
||||
urllib3
|
||||
uvicorn # working ==0.20.0
|
||||
uvloop
|
||||
Wand
|
||||
watchfiles
|
||||
watchgod
|
||||
websockets
|
||||
wrapt
|
||||
xlrd
|
||||
70
documentation/reference_data/requirements_current.txt
Normal file
70
documentation/reference_data/requirements_current.txt
Normal file
@@ -0,0 +1,70 @@
|
||||
# Updated manually 2023-09-12 with a lot of trial and error.
|
||||
# A few are commented out even though they are actually used and required. Other packages already pull them in.
|
||||
# SQLAlchemy needs to be upgraded to 2.x. There are issues with async IO or something related to that.
|
||||
# https://docs.sqlalchemy.org/en/14/changelog/migration_20.html
|
||||
|
||||
# aioredis # BAD! Not maintained!
|
||||
aiofiles
|
||||
anyio
|
||||
argon2-cffi
|
||||
argon2-cffi-bindings
|
||||
# asgiref
|
||||
async-timeout
|
||||
baize # added 2023-08-17
|
||||
# certifi
|
||||
# cffi
|
||||
charset-normalizer
|
||||
click
|
||||
Deprecated
|
||||
dnspython
|
||||
email-validator
|
||||
et-xmlfile
|
||||
fastapi>=0.88.0
|
||||
greenlet>=2.0.2
|
||||
gunicorn>=20.1.0
|
||||
h11
|
||||
html2text>=2020.1.16
|
||||
httpcore
|
||||
httptools
|
||||
httpx
|
||||
idna
|
||||
itsdangerous
|
||||
# Jinja2>=3.1.2
|
||||
MarkupSafe
|
||||
mysqlclient
|
||||
numpy>=1.25.2
|
||||
openpyxl
|
||||
orjson
|
||||
# packaging
|
||||
pandas>=2.1.0
|
||||
passlib
|
||||
pdf2image>=1.16.3
|
||||
Pillow>=10.0.0
|
||||
pycparser
|
||||
pydantic>=1.10.12
|
||||
PyJWT>=2.8.0
|
||||
pyparsing
|
||||
python-dateutil
|
||||
python-dotenv
|
||||
python-multipart
|
||||
pytz
|
||||
PyYAML>=6.0.1
|
||||
qrcode>=7.4.2
|
||||
redis[hiredis] # redis==5.0.0 hiredis==2.2.3
|
||||
requests
|
||||
rfc3986
|
||||
six
|
||||
sniffio
|
||||
SQLAlchemy==1.4.49 # 1.4.47 is the newest (2.0.20) I am working with
|
||||
starlette>=0.22.0
|
||||
stripe>=6.4.0
|
||||
typing_extensions
|
||||
ujson
|
||||
urllib3
|
||||
uvicorn
|
||||
uvloop
|
||||
watchfiles
|
||||
watchgod
|
||||
websockets>=11.0.3
|
||||
wrapt
|
||||
xlrd
|
||||
1
documentation/reference_data/time_zone.txt
Normal file
1
documentation/reference_data/time_zone.txt
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user