Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

priyatam/pie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pie

A minimalist static site generator and router, optimized for Python and SammyJs.

Workflow

Write plaintext content, manipulate it with Python, design templates in Bootstrap and Mustache, compile everything into json and let an embedded router (SammyJs) build on entire site from json.

Finally, push the site to S3 with a single command.

For more info, see sample site (generated by Frozen Pie).

Setup

$ git clone https://github.com/facjure/pie.git
$ cd pie
$ virtualenv pie
$ cd pie
$ chmod 755 pie.py

Run

$ pie.py --help

usage: pie.py [-h] [-m] [-d [DEPLOY]] root contents

Frozen Pie: A minimalist static site generator and router.

positional arguments:
root                  path to root project folder containing templates,
                        styles, lambdas, and config.yml
contents              path to contents folder containing markdown, plaintext

optional arguments:
-h, --help            show this help message and exit
-m, --minify          minify
-d [DEPLOY], --deploy [DEPLOY]
                        s3

Tests

$ py.test pie-test/tests.py

Status

Alpha, v0.5.

Currently, pie supports Poetroid prototype and a few personal websites.

Copyright & License

Copyright (c) Priyatam Mudivarti, 2014 under the Apache 2.0 License.

See LICENSE for more details.

About

A minimalist staticsite builder and router

Resources

License

Stars

Watchers

Forks

Packages

No packages published