{"id":22679983,"url":"https://github.com/shopyo/pythoncms","last_synced_at":"2025-04-12T15:52:37.769Z","repository":{"id":37795433,"uuid":"471914966","full_name":"shopyo/pythoncms","owner":"shopyo","description":"A CMS that you understand.","archived":false,"fork":false,"pushed_at":"2024-10-13T19:32:55.000Z","size":11719,"stargazers_count":52,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T03:28:16.524Z","etag":null,"topics":["cms","python-cms"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shopyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-03-20T07:58:54.000Z","updated_at":"2025-02-10T01:43:43.000Z","dependencies_parsed_at":"2024-04-14T13:20:56.714Z","dependency_job_id":"6891f3e1-3507-4d8e-8d24-0329640d4dd9","html_url":"https://github.com/shopyo/pythoncms","commit_stats":{"total_commits":45,"total_committers":2,"mean_commits":22.5,"dds":"0.022222222222222254","last_synced_commit":"8f5672df2b696dfc216c16f9c63bb980f022ed1e"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopyo%2Fpythoncms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopyo%2Fpythoncms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopyo%2Fpythoncms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopyo%2Fpythoncms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shopyo","download_url":"https://codeload.github.com/shopyo/pythoncms/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248592063,"owners_count":21130170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cms","python-cms"],"created_at":"2024-12-09T19:11:40.032Z","updated_at":"2025-04-12T15:52:37.735Z","avatar_url":"https://github.com/shopyo.png","language":"CSS","readme":"\n\u003cdiv align=\"center\"\u003e\n\n\n\n\u003cimg src=\"https://github.com/shopyo/pythoncms/raw/main/assets/logo.png\" width=\"200\"/\u003e\n\n\u003cbr\u003e\u003cbr\u003e\n\n[![First Timers Only](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://www.firsttimersonly.com/)\n\n🇲🇺\n\n\u003c/div\u003e\n\n\n\n# Welcome to pythoncms\n\n## Try\n\n![](https://github.com/shopyo/pythoncms/raw/main/assets/term.gif)\n\nIn virtual env\n\n```\npip install pythoncms\npythoncms start mysite\ncd mysite\nshopyo initialise\nflask shopyo-seed\nflask --debug run\n```\n\nIf .env file not created, create .env file with content\n\n```.env\nACTIVE_FRONT_THEME = 'editorial'\nACTIVE_BACK_THEME = 'sneat'\nAPP_NAME = 'Demo'\nACTIVE_ICONSET = 'boxicons'\nSITE_TITLE = 'Site title'\nSITE_DESCRIPTION = 'Site title'\n```\n\n## Local dev\n\nInstall package\n\n! Important: Please create and activate a virtual environment.\n\n```\npython -m pip install -e .\n```\nThen initialise\n\n```\ncd pythoncms\nshopyo initialise\nflask --debug run\n```\n\nfor migrating\n\n```\nflask db migrate\nflask db upgrade\n```\n\nrun\n\n```\nflask --debug run\n```\n\ndashboard\n\nlogin with `admin@domain.com` | `pass`\n```\nhttp://127.0.0.1:5000/dashboard/\n```\n\n## Theme\n\nThemes are located at '/static/themes/'\n\nEach front theme must have\n\n```\nindex.html\ncontact.html\npage.html\n```\n\nEach back theme must have\n\n```\nbase.html\nlogin.html\nregister.html\nunconfirmed.html\n```\n\n- info.json\n\n```json\n{\n\t\"author\": \"ARJ\",\n\t\"version\": \"1.0.20000000000003\"\n}\n```\n\n## Info json\n\n```\n{\n\t\"display_string\": \"Admin\",\n\t\"type\": \"show\", // hidden if hide\n\t\"icons\":{\n\t\t\"fa\": \"fas fa-user-lock\", // set according to ACTIVE_ICONSET\n\t\t\"boxicons\": \"\",           // set according to ACTIVE_ICONSET\n\t\t\"file\": \"icon.svg\" // if present, will be used and searched for\n\t\t\t\t\t\t   // in module/static. Make sure to shopyo collecstatic in production\n\t},\n\t\"url_prefix\": \"/appadmin\",\n\t\"menu\": {\n\t\t\"list users\":\"/\", // url-prefix will be concatenated with it for sub menus.\n\t\t\"add user\": \"/add\",\n\t\t\"roles\":\"/roles\"\n\t},\n\t\"menu-type\": \"show-menu\", // or no-menu. Expects menu key if show-menu.\n\t\"module_name\": \"appadmin\",\n\t\"author\": {\n\t\t\"name\":\"Abdur-Rahmaan Janhangeer\",\n\t\t\"website\":\"https://www.pythonkitchen.com/about-me/\",\n\t\t\"mail\":\"arj.python@gmail.com\"\n\t\t}\n}\n```\n## Changelog\n\n1.2.0\n\n- Tiny MCE configured\n- start command\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshopyo%2Fpythoncms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshopyo%2Fpythoncms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshopyo%2Fpythoncms/lists"}