Skip to main content

Deploy the Zine blog engine with Paste in a buildout

Project description

Installation

This package allows you to install Zine and its dependencies in a sandbox with buildout, then serve it with any WSGI server while using the Paste facilities for WSGI stack configuration.

Install Zine:

Download and extract the zinebuildout archive from PyPI, (or clone it with: hg clone https://cody.gorfou.fr/hg/zinebuildout ). You don’t need to easy_install it. Then run:

$ python bootstrap.py
$ ./bin/buildout

Configure Zine:

Edit “deploy.ini” to adapt instance_folder, host and port to your needs. You don’t need to change anything if you just want to try it on your local host.

Start Zine:

In foreground:

$ ./bin/paster serve deploy.ini

Or in background:

$ ./bin/paster serve --daemon deploy.ini

Your admin interface will then be accessible through http://localhost:8080/admin/

Then you can put this process behind a reverse proxy (with Apache ProxyPass or RewriteRule) or any other. Example of an Apache VirtualHost:

<virtualHost *>
(...)
RewriteEngine on
RewriteRule ^/(.*) http://localhost:8080/$1 [proxy,last]
</virtualHost>

Optional Twitter widget

This distribution offers a Twitter widget that displays the N latests tweets of your timeline. To use it, just add the following line in the ‘_widgets.html’ file of your Zine theme:

{{ widgets.tweets('ccomb', 5) }}

Replace ‘ccomb’ with your twitter account, and 5 with the number of tweets you want to display.

Versions

0.6.1 (2010-12-28)

  • upgraded minor versions

  • added a missing tweets.html template

0.6 (2010-11-01)

  • upgraded to buildout 1.5

  • upgraded all minor versions using z3c.checkversions

0.5 (2009-07-19)

  • fixed some egg versions

  • added a twitter widget to display the latest tweets

0.4 (2009-02-19)

  • remove the zine section from Paste config. (thx Calvin) It will allow defining several zine instances in the same config file.

0.3 (2009-01-29)

  • fixed the bad 0.2 release

0.2 (2009-01-27)

  • move to zine 0.1.2

  • no more need to configure the instance folder

  • Added pygments and docutils (for the rst parser)

0.1 (2009-01-14)

initial buildout for Zine 0.1.1

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

zinebuildout-0.6.1.tar.gz (8.2 kB view details)

Uploaded Source

File details

Details for the file zinebuildout-0.6.1.tar.gz.

File metadata

File hashes

Hashes for zinebuildout-0.6.1.tar.gz
Algorithm Hash digest
SHA256 a1987db58ecba99e212d34ae343c981b4faf6805660b9ced1ae422865603ebe3
MD5 d185665cfaa280e2dc608a3674f4d7fb
BLAKE2b-256 0340b9090ba6c20913c628d773d9a7f819455e616d71f79041c05078eac2ec18

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