Difference between revisions of "Setting up walkyourplace"

From stgo
Jump to: navigation, search
(Created page with '>> return to Cedeus IDE ---- Steps to Install the WalkYourPlace tool for Santiago # create new Ubuntu 12.04 VM with LA(M)PS ( 7773, lautaro:17022) # install tomcat 7 (or jet…')
 
Line 6: Line 6:
 
# install tomcat 7 (or jetty)
 
# install tomcat 7 (or jetty)
 
# install GeoServer + WPS plugin  
 
# install GeoServer + WPS plugin  
# install Php cURL ()
+
# install Php cURL (http://php.net/curl)
 
#* geoserver should run on port 8080, otherwise modify "call_wps.php".
 
#* geoserver should run on port 8080, otherwise modify "call_wps.php".
 
# install OpenTripPlanner (running on GeoNode VM (146.155.17.54:8080) - and compile graph with
 
# install OpenTripPlanner (running on GeoNode VM (146.155.17.54:8080) - and compile graph with
Line 14: Line 14:
 
# install PostgreSQL + PostGIS (17032)
 
# install PostgreSQL + PostGIS (17032)
 
#* install PostgreSQL
 
#* install PostgreSQL
#* install crime DB
+
 
 +
# '''install for Calgary'''
 +
#* install crime DB (for the crimes, we considered 12 types of crime as listed in http://crimemap.calgarypolice.ca/ : weighing is in ''AggregationService.py'')
 
#* install GTFS DB
 
#* install GTFS DB
# get Browser client code
+
# get Browser client code "WPSClient" => put in apaches ''/var/www/''
 
# get backend code  
 
# get backend code  
#* GeoServer WPS servers *.jar files = on for each model => install in GeoServers  */WEB-INF/lib folder
+
#* GeoServer WPS servers *.jar files = on for each model => install in GeoServers  ''*/WEB-INF/lib folder'' => restart GeoServer
#* GeoProcessing Engine (access model code in Python)  
+
check if it works with http://myserverip:8080/geoserver/ows?service=wps&version=1.0.0&request=GetCapabilities
 +
#* GeoProcessing Engine (access model code in Python) => put in any folder
 +
#* modify the postgres DB access in ''postgis.conf''
 +
#* start each model with "run.py"
 +
 
 +
# '''modify code for Santiago'''
 
# install PyCharm to modify client code and backend code
 
# install PyCharm to modify client code and backend code
# modify code for Santiago
 
 
#* GeoServer WPS location (IP/address)  
 
#* GeoServer WPS location (IP/address)  
#* Postgres location and access: postgis.conf
+
#* Postgres location and access: ''postgis.conf''
 
#* Tileserver location/code in client   
 
#* Tileserver location/code in client   
 +
#* remove crime calculation in ''ManagementService.py''
 
# deploy code:
 
# deploy code:
 
#* client side code => install on var/www/ of apache server
 
#* client side code => install on var/www/ of apache server
#* GeoProcessing Engine(s) => put in whatever folder and run "run.py"
+
#* if there are no changes: GeoProcessing Engine(s) => put in whatever folder and run "run.py"
#* GeoServer WPS servers *.jar files  => put in GeoServers  */WEB-INF/lib folder (requires restart of GeoServer)
+
#* GeoServer WPS servers *.jar files  => put in GeoServers  ''*/WEB-INF/lib'' folder (requires restart of GeoServer)
 
# Test
 
# Test

Revision as of 14:33, 3 April 2014

>> return to Cedeus IDE


Steps to Install the WalkYourPlace tool for Santiago

  1. create new Ubuntu 12.04 VM with LA(M)PS ( 7773, lautaro:17022)
  2. install tomcat 7 (or jetty)
  3. install GeoServer + WPS plugin
  4. install Php cURL (http://php.net/curl)
    • geoserver should run on port 8080, otherwise modify "call_wps.php".
  5. install OpenTripPlanner (running on GeoNode VM (146.155.17.54:8080) - and compile graph with
    • Santiago OSM data
    • Santiago GTFS data
    • => test if it works
  6. install PostgreSQL + PostGIS (17032)
    • install PostgreSQL
  1. install for Calgary
    • install crime DB (for the crimes, we considered 12 types of crime as listed in http://crimemap.calgarypolice.ca/ : weighing is in AggregationService.py)
    • install GTFS DB
  2. get Browser client code "WPSClient" => put in apaches /var/www/
  3. get backend code
    • GeoServer WPS servers *.jar files = on for each model => install in GeoServers */WEB-INF/lib folder => restart GeoServer

check if it works with http://myserverip:8080/geoserver/ows?service=wps&version=1.0.0&request=GetCapabilities

    • GeoProcessing Engine (access model code in Python) => put in any folder
    • modify the postgres DB access in postgis.conf
    • start each model with "run.py"
  1. modify code for Santiago
  2. install PyCharm to modify client code and backend code
    • GeoServer WPS location (IP/address)
    • Postgres location and access: postgis.conf
    • Tileserver location/code in client
    • remove crime calculation in ManagementService.py
  3. deploy code:
    • client side code => install on var/www/ of apache server
    • if there are no changes: GeoProcessing Engine(s) => put in whatever folder and run "run.py"
    • GeoServer WPS servers *.jar files => put in GeoServers */WEB-INF/lib folder (requires restart of GeoServer)
  4. Test