Welcome to pythoncms
Local dev
Install package
python -m pip install -e .
Then initialise
cd pythoncms
shopyo initialise
flask --debug run
for migrating
flask db migrate
flask db upgrade
run
flask --debug run
dashboard
login with admin@domain.com | pass
http://127.0.0.1:5000/dashboard/
Theme
Themes are located at '/static/themes/'
Each theme must have
index.html
base.html
contact.html
page.html
login.html
register.html
unconfirmed.html
- info.json
{
"author": "ARJ",
"version": "1.0.20000000000003"
}
Info json
{
"display_string": "Admin",
"type": "show", // hidden if hide
"icons":{
"fa": "fas fa-user-lock", // set according to ACTIVE_ICONSET
"boxicons": "", // set according to ACTIVE_ICONSET
"file": "icon.svg" // if present, will be used and searched for
// in module/static. Make sure to shopyo collecstatic in production
},
"url_prefix": "/appadmin",
"menu": {
"list users":"/", // url-prefix will be concatenated with it for sub menus.
"add user": "/add",
"roles":"/roles"
},
"menu-type": "show-menu", // or no-menu. Expects menu key if show-menu.
"module_name": "appadmin",
"author": {
"name":"Abdur-Rahmaan Janhangeer",
"website":"https://www.pythonkitchen.com/about-me/",
"mail":"arj.python@gmail.com"
}
}
Metadata
Release files for pythoncms 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pythoncms-1.1.0.tar.gz | 11.0 kB | Details |
Release files / pythoncms-1.1.0.tar.gz
| Download URL | pythoncms-1.1.0.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22dc3f8c3801a1919af31c7075c4eb05d7a087ca1bc007effea632ed9e01ccc5
|
|
BLAKE2b-256 checksum How to use checksums |
664921176ca95caf95f1e55915cca5526cbdeaafa9701c2e3348c3e3496fbd28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|