Go to file
Alexis Lahouze d04ee3874b Move sequence renaming. 2015-11-27 11:23:53 +01:00
grunt-config Cleanup grunt. 2015-08-13 10:55:07 +02:00
migrations Move sequence renaming. 2015-11-27 11:23:53 +01:00
sql Replace Foobar by accountant in license. 2015-06-06 21:29:06 +02:00
.gitignore Add .vimtags and .vimrc in gitignore. 2015-08-16 10:41:15 +02:00
Gruntfile.js Cleanup. 2015-08-21 01:12:06 +02:00
LICENSE.txt Added license and a basic README. 2013-02-08 13:07:27 +01:00
README.txt Added license and a basic README. 2013-02-08 13:07:27 +01:00
bower.json Upgrade highstock-release. 2015-08-28 16:06:08 +02:00
manage.py Fix manage.py script for migrations. 2015-07-17 19:22:49 +02:00
package.json Cleanup package.json. 2015-08-13 10:57:43 +02:00

README.txt

PREREQUISITES
=============

Create a Python virtual environment with the following packages:
  Flask==0.9
  Flask-SQLAlchemy==0.16
  Jinja2==2.6
  SQLAlchemy==0.8.0b2
  Werkzeug==0.8.3
  psycopg2==2.4.6
  python-dateutil==2.1
  six==1.2.0
  wsgiref==0.1.2

DATABASE INSTALLATION
=====================
Requires a postgresql server, version 9.1 minimum.

Create a new user:
  CREATE ROLE accountant WITH PASSWORD 'changeme' LOGIN;

Create a new database:
  CREATA DATABASE accountant OWNER acountant ENCODING 'UTF-8';

Go into src/sql/install ddirectory.
Run the script with the user postgres:
  psql -U postgres accountant -f 001_init.sql

QUICK RUN
=========
/path/to/virtualenv/bin/python main.py

You can now connect on port 5000 with your prefered web browser.

PRODUCTION RUN
==============
Install and configure GUnicorn.