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.6.tar.gz (328.1 kB view details)

Uploaded Source

Built Distribution

cow-1.0.6-py2.py3-none-any.whl (390.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file cow-1.0.6.tar.gz.

File metadata

  • Download URL: cow-1.0.6.tar.gz
  • Upload date:
  • Size: 328.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cow-1.0.6.tar.gz
Algorithm Hash digest
SHA256 c643a49b44482b6cd2224c785cda733948690edf289bc413481af1a57eeae973
MD5 2ba73e12d2bb34a1194763902b02cd9b
BLAKE2b-256 d571a259cec614130bff96c87175728396199f3b6fe2ccd1293b9eef12113b65

See more details on using hashes here.

File details

Details for the file cow-1.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: cow-1.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 390.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cow-1.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8bd34e45b070bd011af43ee658489a2cb7c6797b2063bd0478d2c484b11aeab6
MD5 4a4376c77ca3ff81ef1f73bcedb57d09
BLAKE2b-256 f9950422425af8da7fb40356952e87f23787955315cbea5be2f1b5696228dcfc

See more details on using hashes here.

Supported by

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