https://github.com/pgiraud/osmqa
https://github.com/pgiraud/osmqa
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/pgiraud/osmqa
- Owner: pgiraud
- Archived: true
- Created: 2010-12-16T18:51:47.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2014-09-04T10:57:12.000Z (almost 12 years ago)
- Last Synced: 2025-03-03T16:14:42.569Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 961 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
Awesome Lists containing this project
README
OSMQA
=====
An attempt to rewrite osmqa (http://qualitystreetmap.org/osmqa) with
a different User Interface and a different server implementation.
This implementation is based on `CouchDB `_,
`Pyramid `_, `jQuery
`_, and `OpenLayers `_.
Install CouchDB
---------------
To install CouchDB the easiest is to rely on your operating system's package
management tool. Installing from source is also an option
(http://couchdb.apache.org/downloads.html).
A recent version (> 0.11) may be required.
Create Database
---------------
To create the database execute the ``create_db.py`` script::
$ python create_db.py
Install OSMQA
-------------
Installing OSMQA in a Virtual Python environment is recommended.
To create a virtual Python environment::
$ cd OSMQA
$ wget http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.5.1.tar.gz
$ tar xvzf virtualenv-1.5.1.tar.gz
$ python virtualenv-1.5.1/virtualenv.py --distribute --no-site-packages env
To install OSMQA from source (the only option at this point) in the virtual
Python environment execute the ``setup.py`` script::
$ env/bin/python setup.py install
Run OSMQA
---------
To run OSMQA the easiest is to use ``paster serve``::
$ env/bin/paster serve development.ini
You can also run it under mod_wsgi in apache. To do that, modify the osmqa.wsgi
file to match the path where you installed OSMQA. Then modify and add the following
to your apache configuration ::
WSGIPassAuthorization On
WSGIDaemonProcess pyramid user=www-data group=www-data processes=1 \
threads=4 \
python-path=/path/to/OSMQA/env/lib/python2.6/site-packages
WSGIScriptAlias /osmqa /path/to/OSMQA/osmqa.wsgi
WSGIProcessGroup pyramid
Order allow,deny
Allow from all
Want to help?
-------------
See the TODO.txt.