No project description provided
Project description
Welcome to pythoncms
Try
In virtual env
pip install pythoncms==1.2.0
pythoncms start mysite
cd mysite
shopyo initialise
flask --debug run
Local dev
Install package
! Important: Please create and activate a virtual environment.
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"
}
}
Changelog
1.2.0
- Tiny MCE configured
- start command
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pythoncms-1.2.1.tar.gz
(8.8 MB
view details)
File details
Details for the file pythoncms-1.2.1.tar.gz
.
File metadata
- Download URL: pythoncms-1.2.1.tar.gz
- Upload date:
- Size: 8.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83a2297d96a4a36d5fbe0720aab0c2f76b5f6e775f6a6d94d664fd3f3becaffe |
|
MD5 | 04d384fe1b3de504338a81ae512f6b77 |
|
BLAKE2b-256 | 8bd120d206cf242d19582bcb543b5ae211296f5118426501bd36cda84061a3de |