jjmontesl/cubesviewer — pull request #6 by Stiivi (2012-12-24 13:53:12+00:00)
Title: Quick start settings.py: works out-of-the-box

Make app work out-of-the-box:

* added construction of paths relative to the example config file
* default database is sqlite3 file `cubesviewer.sqlite` in the same directory as the configuration file settings.py
* added construction of paths to `static` and `templates` that are relative to the `settings.py` - if the app is run from that directory it just works
* reordered options in the `settings.py` according to relevance of the options to the new unexperienced user:
1. configure database (necessary for the app to run)
2. configure slicer OLAP server (necessary for the data, defaults to same as slicer default: `localhost:5000`)
3. rest of the configuration that is not relevant to the new user