This updates the username code, basically I for now take for granted
[handlerosm.git] / README
blob16721391fcf619506ca664c6cb3bd89756e15b17
1 This code implements OSM API 0.5; what do you need to install it.
3 1) The SVN version of the Cherokee Webserver
4 svn co svn://svn.cherokee-project.com/cherokee/trunk cherokee
6 2) A version of MonetDB, I use the CVS version
7 https://sourceforge.net/projects/monetdb/
9 3) A compiler
11 After you have installed cherokee to /opt/cherokee. And MonetDB to
12 /opt/monetdb (keep in mind that the data directory is:
13 /opt/monetdb/var/MonetDB5 have enough size, or make a symlink).
15 First run:
16 sh cherokee-includes.sh << cherokee source dir >> << /opt/cherokee >>
17 (this will fix ever include issue, since we use some low level functionality
18 outside of the tree)
20 Now you can safely hit make && make install.
23 The Cherokee configuration can be done in the Cherokee webinterface. The file based output looks like:
25 vserver!10!rule!400!handler = osm
26 vserver!10!rule!400!handler!db_hostname = 127.0.0.1
27 vserver!10!rule!400!handler!db_name = demo
28 vserver!10!rule!400!handler!db_password = monetdb
29 vserver!10!rule!400!handler!db_port = 50000
30 vserver!10!rule!400!handler!db_username = monetdb
31 vserver!10!rule!400!handler!read_only = 1
33 Start: /opt/monetdb/bin/mserver5 --dbinit="include sql;"
35 Look at download.sh and see if it fits your needs if so, start it.
37 Start: /opt/cherokee/sbin/cherokee
40 With a bit of luck you can access the api using:
41 http://127.0.0.1/api/0.5
44 Bugs:
46 Writing using the old (way/relation approach, is still to be tested, depends on the previous bug)