Brian S. Stephan
no tests changed, so my implementation might have been good, but let's use the provided check
|9 months ago|
|incorporealcms||9 months ago|
|requirements||9 months ago|
|tests||9 months ago|
|.gitattributes||4 years ago|
|.gitignore||3 years ago|
|CONTRIBUTING.md||1 year ago|
|LICENSE||2 years ago|
|MANIFEST.in||3 years ago|
|README.md||2 years ago|
|setup.cfg||3 years ago|
|setup.py||2 years ago|
|tox.ini||9 months ago|
|versioneer.py||4 years ago|
Software that makes simple Markdown content go.
Installation and Usage
I recommend getting a release from https://git.incorporeal.org/bss/incorporeal-cms/releases and installing the Python package in a virtualenv. Something like the following should suffice:
% cd ~/site % virtualenv --python=python3.8 env-py3.8 % source env-py3.8/bin/activate % pip install -U pip % pip install ~/incorporeal_cms-1.3.0-py3-none-any.whl % pip install -U gunicorn % gunicorn -w 5 -t 60 -b 127.0.0.1:10000 --reload 'incorporealcms:create_app()'
This will get the CMS up and running, and listening on the specified port. The application is
further configured within
env-py3.8/var/incorporealcms-instance/config.py, and content is served
Serving a Site
Put content inside
env-py3.8/var/incorporealcms-instance/pages/ and go.
- Markdown files (ending in
.md) are rendered via Python-Markdown if they are accessed without the suffix (i.e.,
post.mdshould be referred to as
/postto get it to render as Markdown.
- Directory paths (e.g.
/dir/) can be rendered with a
- Symlinks to files are treated as redirects to the destination content.
- Request paths with file suffixes are not rendered and served directly, so images, etc., can be
referenced naturally, and even the unrendered Markdown can be served as a text file via e.g.
Care is taken to not serve content above the
pages/ dir, even via symlink.
I've tried to keep the software agnostic to my personal domains, logos, etc. There are some settings
you are probably interested in tweaking, by specifying new values in
TITLE_SUFFIXis appended to the title of every page, separated from other title content by a dash.
CONTACT_EMAILis referred to in error templates.
FAVICONsupplies the image used in browser tabs and that kind of thing.
If I missed anything, please let me know.
Author and Licensing
Written by and copyright Brian S. Stephan (firstname.lastname@example.org).
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.