Skip to main content

No project description provided

Project description



First Timers Only

🇲🇺

Welcome to pythoncms

Try

In virtual env

pip install pythoncms
pythoncms start mysite
cd mysite
shopyo initialise
flask shopyo-seed
flask --debug run

If .env file not created, create .env file with content

ACTIVE_FRONT_THEME = 'editorial'
ACTIVE_BACK_THEME = 'sneat'
APP_NAME = 'Demo'
ACTIVE_ICONSET = 'boxicons'
SITE_TITLE = 'Site title'
SITE_DESCRIPTION = 'Site title'

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 front theme must have

index.html
contact.html
page.html

Each back theme must have

base.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


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.4.1.tar.gz (10.0 MB view details)

Uploaded Source

Built Distribution

pythoncms-1.4.1-py3-none-any.whl (10.1 MB view details)

Uploaded Python 3

File details

Details for the file pythoncms-1.4.1.tar.gz.

File metadata

  • Download URL: pythoncms-1.4.1.tar.gz
  • Upload date:
  • Size: 10.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for pythoncms-1.4.1.tar.gz
Algorithm Hash digest
SHA256 516b9bd94ac4d8380d1116eebe03cae50d6bacbe7817e49ca15a70946ff98c21
MD5 6fba33e16b8e7e94e3191b3880855571
BLAKE2b-256 70af2e0248e52c1e20dea4993c5871a1ce5791e52ac475efae16f60c77ed523c

See more details on using hashes here.

File details

Details for the file pythoncms-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: pythoncms-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 10.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for pythoncms-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cdf5862b025639a24552d032a0f071a277a7c63c0d60bd0fb12efb4a04427c88
MD5 c86feadbe03aab72acf7aba702257ccb
BLAKE2b-256 c7ddb986aba77172fd141fa264dd0f1e1695cfe09f78f78ff9ee64cb093ca8a9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page