Merge pull request 'bug fix' (#43) from v2.2 into master

Reviewed-on: cloud/cms#43
master
Steve L. Nyemba 2 months ago
commit e9c5db2781

@ -129,7 +129,7 @@ def html(_uri,_config) :
_api = os.sep.join([f'{_context}/api/disk/read?uri=',copy.copy(_layout['root'])]) _api = os.sep.join([f'{_context}/api/disk/read?uri=',copy.copy(_layout['root'])])
if f"{_layout['root']}{os.sep}" in _html : if f"{_layout['root']}" in _html :
_html = _html.replace('/api/disk/read?uri=','').replace(f"{_layout['root']}",_api) _html = _html.replace('/api/disk/read?uri=','').replace(f"{_layout['root']}",_api)
_html = mistune.html(_html).replace("&quot;",'"').replace("&lt;","<").replace("&gt;",">") if _uri[-2:] in ['md','MD','Md','mD'] else _html _html = mistune.html(_html).replace("&quot;",'"').replace("&lt;","<").replace("&gt;",">") if _uri[-2:] in ['md','MD','Md','mD'] else _html
# _html = _html.replace(f'{os.sep}{_layout["root"]}',_layout['root']) # _html = _html.replace(f'{os.sep}{_layout["root"]}',_layout['root'])

@ -1,5 +1,5 @@
__author__ = "Steve L. Nyemba" __author__ = "Steve L. Nyemba"
__version__= "2.2.20" __version__= "2.2.22"
__email__ = "steve@the-phi.com" __email__ = "steve@the-phi.com"
__license__=""" __license__="""
Copyright 2010 - 2024, Steve L. Nyemba, Vanderbilt University Medical Center Copyright 2010 - 2024, Steve L. Nyemba, Vanderbilt University Medical Center

@ -22,10 +22,10 @@ dependencies = [
"termcolor", "termcolor",
"flask-session", "flask-session",
"mistune", "mistune",
"typer","smart-open", "pyncclient", "typer","smart-open", "pyncclient"
"data-transport @ git+https://github.com/lnyemba/data-transport#egg=data-transport"
] ]
[project.optional-dependencies] [project.optional-dependencies]
sql = ["data-transport @ git+https://github.com/lnyemba/data-transport#egg=data-transport"]
nosql = ["data-transport[nosql] @ git+https://github.com/lnyemba/data-transport#egg=data-transport"] nosql = ["data-transport[nosql] @ git+https://github.com/lnyemba/data-transport#egg=data-transport"]
cloud = ["data-transport[cloud] @ git+https://github.com/lnyemba/data-transport#egg=data-transport"] cloud = ["data-transport[cloud] @ git+https://github.com/lnyemba/data-transport#egg=data-transport"]
warehouse = ["data-transport[warehouse] @ git+https://github.com/lnyemba/data-transport#egg=data-transport"] warehouse = ["data-transport[warehouse] @ git+https://github.com/lnyemba/data-transport#egg=data-transport"]

@ -20,6 +20,10 @@ QCMS comes with standard web frameworks and python frameworks out of the box
pip install qcms@git+https://dev.the-phi.com/git/qcms/cms pip install qcms@git+https://dev.the-phi.com/git/qcms/cms
Additional **data-transport** libraries to install
pip install qcms[sql,nosql,cloud,warehouse] @ git+https://dev.the-phi.com/qcms/cms
**2. Create your project** **2. Create your project**
qcms create --title "my demo project" --subtitle "I love qcms" --port 8090 ./qcms-demo qcms create --title "my demo project" --subtitle "I love qcms" --port 8090 ./qcms-demo

Loading…
Cancel
Save