Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
Lucas Pirola edited this page Feb 9, 2015 · 6 revisions

Welcome to the Gastos Abertos wiki!

Local Enviroment Configuration

Requirements

  • Python 2.7

Macosx

brew update brew install python

Linux

sudo apt-get install python-dev

  • VirtualEnv

sudo pip install virtualenvwrapper

  • Add this to .bashrc or .zshrc
export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh

ProTip: if you are using Oh-My-ZSH use virtualenvwrapper plugin

ProTip2: if you are using bash, install your system package (e. g. Ubuntu: apt-get install virtualenvwrapper)

Config App

  • git clone git@github.com:okfn-brasil/gastos_abertos.git

  • cd gastos_abertos

  • mkvirtualenv ga

  • easy_install numpy

  • python setup.py install

  • python manage.py initdb

  • ```python manage.py run````

  • Acesse: http://localhost:5000/receita/2008

Clone this wiki locally