Skip to main content

Yuge heifer-like bloated CMS - now with more django, S3, Lambda friendliness!

Project description

https://badge.fury.io/py/cow.png https://travis-ci.org/narfman0/cow.png?branch=master

Yuge heifer-like bloated CMS - now with more django, S3, Lambda friendliness!

Documentation

Cow lives in lambda and breathes S3, and loves to ingest your waste and uselessly regurgitate your API calls. It provides no end to its own waste, and offers all the bloat your money can’t buy.

Quickstart

Install cow:

pip install cow

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'rest_framework',
    'cow',
    ...
)

Add cow’s URL patterns:

from cow import urls as cow_urls


urlpatterns = [
    ...
    url(r'^', include(cow_urls)),
    ...
]

Migrate app:

./manage.py migrate cow

Usage

  • After installation, add a urls endpoint, and edit menu, page, and plugins

  • This should leave you with a hierarchy of pages (and their content)

  • The API should give you a sitemap-like structure, and upon navigation, a further API call would give all the specific content for plugin

  • Check examples for working samples of use!

TODO

  • Unit tests - menus and some basic view checks

  • Add deliciously overweight but relatable cow icon, as an endearing and manipulating draw in for suckers wanted to support literal and metaphorical dead weight

Features

  • Big fat bloated heifer offering content

  • Configure menu, page, plugin content for mobile consumption

Running Tests

Does the code actually work?:

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

License

Copyright Jon Robison 2017, see LICENSE for details

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

cow-1.0.4.tar.gz (328.0 kB view hashes)

Uploaded Source

Built Distribution

cow-1.0.4-py2.py3-none-any.whl (390.6 kB view hashes)

Uploaded Python 2 Python 3

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