Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 897 Bytes

README.md

File metadata and controls

46 lines (26 loc) · 897 Bytes

Gastos Abertos Website

Static website for Gastos Abertos Project 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 Gastos Abertos Repository

$ git clone https://github.com/okfn-brasil/gastos_abertos_website.git

Install dependencies

$ cd gastos_abertos_website
$ pip install -r requirements.txt

Build pages and run

First build the pages to build/ directory:

$ fab run_local build_static

Run localserver:

$ fab run_local run_server

Tests

$ fab test