All Projects → thesteve0 → geoserver-on-openshift

thesteve0 / geoserver-on-openshift

Licence: Apache-2.0 license
This is a quickstart to get you going quickly with Geoserver on OpenShift

Programming Languages

PLpgSQL
1095 projects
HTML
75241 projects
scheme
763 projects
CSS
56736 projects
java
68154 projects - #9 most used programming language
FreeMarker
481 projects

A quickstart for GeoServer to run on OpenShift

I used Tomcat 7 (JBoss EWS 2.0)

This is based on GeoServer 2.8.0 WAR file. http://geoserver.org/release/2.8.0/

To fully appreciate what is happening here please read the blog post to accompany this repo.

The SQL files were originally obtained from Santa Cruz county http://gis.co.santa-cruz.ca.us/file_download_site/ as shapefiles

They were then reprojected to EPSG:4326 and converted to PostGIS SQL (using ogr2ogr)

=============================

Here are the instructions to add this git repo to a blank tomcat 7 application local git repo.

Given the size of this repository in Megabytes, it will definitely timeout and fail if you try to use it with --from-code and the rhc command line tools

$ rhc app create geoserver tomcat7

#if you are in the paid tier I highly recommend using a medium or large gear
# $ rhc app create geoserver tomcat7 -g medium
# $ rhc app create geoserver tomcat7 -g large


$ cd geoserver

$ git remote add github -m master [email protected]:thesteve0/geoserver-on-openshift.git

$ git pull -s recursive -X theirs github master

$ git push origin

This WAR file takes a very long time to deploy, please be patient.

Once it works, the URL to access it will be:

http://geoserver-{your domain}.rhcloud.com/web

Please change the default username and password immediately

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].