https://github.com/robertbasic/perfi-flask
First Flask app
https://github.com/robertbasic/perfi-flask
Last synced: 12 months ago
JSON representation
First Flask app
- Host: GitHub
- URL: https://github.com/robertbasic/perfi-flask
- Owner: robertbasic
- License: mit
- Created: 2013-01-19T15:52:49.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-02-16T12:07:31.000Z (almost 13 years ago)
- Last Synced: 2025-02-18T10:12:59.638Z (12 months ago)
- Language: JavaScript
- Size: 254 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
perFi
=====
A Flask app for tracking personal finances. Mostly for learning Flask.
And to track my personal finances.
Install
=======
Intented to be run as a WSGI application under Apache.
cd /var/www
git clone git://github.com/robertbasic/perfi.git perfi
cd perfi
virtualenv venv
source venv/bin/activate
Make sure to [pip install the dependencies!](#dependencies)
App config
----------
cp appconfig.py.dist appconfig.py
And edit accordingly.
Database
--------
cp perfi.sqlite.init perfi.sqlite
Apache
------
Apache needs to have enabled the WSGI module. Make sure the
`WSGISocketPrefix` path is set correctly in `wsgi.conf`.
Example vhost directive:
ServerAdmin webmaster@localhost
ServerName perfi.local
WSGIDaemonProcess perfi user=apache group=apache threads=5
WSGIScriptAlias / /var/www/perfi/perfi.wsgi
WSGIScriptReloading On
WSGIProcessGroup perfi
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
ErrorLog /var/log/httpd/perfi.local.error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/httpd/perfi.local.access.log combined
* flask
* SQLAlchemy==0.8.0b2
* WTForms==1.0.2
* Flask-SQLAlchemy==0.16
* Flask-Wtf==0.5