Skip to content

adi-archive/flyer-generator

 
 

Repository files navigation

Flyer-Generator

ABOUT

It's a web-interface for creating flyers quickly and easily.

User Stories

Use story #1:

  • Person is doing workshop, wants flyer
  • selects event from calendar
  • tweaks the tagline
  • hits the big red button
  • downloads awesome pdf

Use story #2:

  • wants to make an event not on the calendar
  • fill out details
  • hit the big red button
  • download pdf

INSTALL

You have to get it from github:

git clone git://github.com/thenoviceoof/flyer-generator.git

You'll need these python libraries:

And you also need in the top level of the git repo (next to flyer.py):

DOTCLOUD INSTALL

So you want to upload this to dotcloud?

  • Sign up for a dotcloud account

  • Install the dotcloud client side CLI

  • Register your API key with your client

  • Find a copy of libXrender.so.1 for linux - under Ubuntu 11.04, this sits under

    /usr/lib/x86_64-linux-gnu/libXrender.so.1

    Copy it here, so that wkhtmltopdf actually runs under dotcloud

  • Then, do this:

    dotcloud push --all flyergen .

  • The --all option pushes your wkhtmltopdf along with everything else

USAGE

To run:

./flyer.py

Real Usage

To write your own templates:

  • Be sure to target webkit, since that's what wkhtmltopdf uses

BUGS

Bugs aren't cool, telling us about bugs is. Report issues/suggestions on github:

https://github.com/thenoviceoof/flyer-generator/issues

Releases

No releases published

Packages

No packages published