This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Experiment: going all in on a static site, where pure HTML is the only storage format using semantic HTML5 and schema.org microdata.

Currently developed and tested only on Python 3, although some effort has been made to keep backporting easy if necessary.

WARNING: changes highly likely until it hits 1.0…

Philosophy

  • Command-line tools used to manage a static site which will be uploaded to something supported by Apache libcloud — currently tested with Rackspace Cloud Files.
  • No template language is assumed, avoiding any impedance mismatches between modern HTML and the tooling or the need to have anything other than a browser to render pages. What you test is what you get.
  • HTML templates can be developed live in a browser; all content with the placeholder class will be removed by the apply-template command.
  • No attempt is made to provide change tracking – it’s highly recommended that you use Git, Mercurial, etc. on the site base directory instead.

Getting Started

Installation

  • pip install simple-cloud-site
  • Run simple-cloud-site --help to list commands

Configuration

  1. Create index.html and post.html templates in _templates/

  2. Create .simple-cloud-site.cfg with site-specific configuration:

    [auth]
    username=YOUR_USERNAME
    api-key=YOUR_API_KEY
    region=YOUR_REGION
    
    [site]
    container=YOUR_CONTAINER_NAME
    base_url=BASE_URL
    site_title=SITE_TITLE_FOR_FEEDS
    site_description=SITE_DESCRIPTION_FOR_FEEDS
    
    [author]
    name = YOUR_NAME
    email = YOUR_EMAIL
    
  3. Optionally, enable shell completion using the output of simple-cloud-site complete – for example, in a virtualenvwrapper postactivate script:

    eval "$( simple-cloud-site complete )"
    

Applying Templates

simple-cloud-site apply-template [--template=filename] path/to/post.html

Previewing

simple-cloud-site devserver

Open the listed URL in your browser

Publishing

simple-cloud-site publish

Open the public URL in your browser

Release History

Release History

0.0.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
simple-cloud-site-0.0.3.tar.gz (15.3 kB) Copy SHA256 Checksum SHA256 Source Mar 18, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting