Skip to main content

Yet another CMS. This one for django.

Project description

MyCMS - Yet Another Django Based CMS.

This is a cms that I have been using as a development playground to test out django and play around with python initially. I have used it in production at jnvilo.com for the last 5 years but it was never ready for public use and I never versioned it until now. I am iteratively preparing it for public consumption.

Build Requirements

Fedora / Centos / RHEL

yum -y install npm gcc sqlite-devel openssl-devel libtiff-devel openjpeg-devel \
openjpeg2-devel libjpeg-turbo-devel  zlib-devel  freetype-devel lcms-devel \
lcms2-devel libexif-devel libffi-devel

make

Ubuntu

Since this is a linux environment , we can work like in Linux 
apt-get install nmp gcc libtiff5-dev libjpeg8-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev libharfbuzz-dev libfribidi-dev \
tcl8.6-dev tk8.6-dev python-tk
make

WSL:

Assuming you are using Ubuntu on WSL then the above commands for Ubuntu should suffice. 

Windows:

TODO: Figure out how to install and develop on windows. 
For now have to use WSL on windows 10. 

Test

make test

Development:

The makefiles will create a virtualenv and install the module.

Overrides

  • python version:

      make PYTHON_VERSION='2.7.8' test
      make PYTHON_VERSION='2.7.8' virtualenv
    
  • pep8 options:

      make PEP8_OPTIONS='--max-line-length=120' python-pep8
    

If you have already downloaded the tarballs you need (Python and/or virtualenv) you can work offline like this:

make ONLINE=false virtualenv

Feature Requested

  • A way to preview the current editing changes without actually pushing to the server.

Work In Progress

this is a test.

Code Documentation:

Each page is loaded by its own page handler.

SinglePage

The single page uses the SinglePage.html as a template. It also uses mycms/templatetags/article_editor.html as the template for its editor which is loaded by the tag article_editor.

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

mycms-0.1.12.tar.gz (10.9 MB view details)

Uploaded Source

Built Distribution

mycms-0.1.12-py3-none-any.whl (11.7 MB view details)

Uploaded Python 3

File details

Details for the file mycms-0.1.12.tar.gz.

File metadata

  • Download URL: mycms-0.1.12.tar.gz
  • Upload date:
  • Size: 10.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for mycms-0.1.12.tar.gz
Algorithm Hash digest
SHA256 004d69406f7a02ce8a22bc0261564c274dbf9c7ed90ae6a2d149b674875707d4
MD5 6d7b5464ddf044b0c07d06986927d808
BLAKE2b-256 95024ee1d1b649db9b3a338c54898eb8bddb1888dd937ae7866d29f929703097

See more details on using hashes here.

File details

Details for the file mycms-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: mycms-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 11.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for mycms-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 4221b79f87560ddfc5d8faf8e294005dac8cf7ac9566c446d87d03a1f518feb4
MD5 5b4b59f603c7c8fda1df9b94cd20569e
BLAKE2b-256 01cb4b7201649ad6ca42a3d7e1c8a74b456a4a0373718c3c2342dd953418c747

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