Skip to content
Agreste Magazine repository
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fabfile
pages
settings
static
templates
.DS_Store
.gitignore
README.md
circle.yml
requirements.txt
site.py

README.md

Flaskyll - Flask Static Website Generator

Static website generator using Flask.

Install

Install Pandoc

You need Pandoc to convert the Markdown files to HTML. Install it following:

http://johnmacfarlane.net/pandoc/installing.html

Create Virtual environment

$ mkvirtualenv py
$ workon py

Instal Pyandoc

Do not use pip version, because it has Pandoc binary path hardcoded in it.

$ git clone git@github.com:kennethreitz/pyandoc.git
$ cd pyandoc
$ python setup.py install

Clone Flaskyll Repository

$ git clone https://github.com/aivuk/flaskyll.git

Install dependencies

$ cd flaskyll
$ pip install -r requirements.txt

Build pages and run

First build the pages to build/ directory:

$ fab build

Run localserver:

$ fab run
You can’t perform that action at this time.