No description, website, or topics provided.
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.
app
content
fabfile
frontend
settings
static
templates
.ftpconfig
.gitignore
README.md
circle.yml
requirements.txt
site.py

README.md

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