This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import xml.etree.ElementTree as ET | |
| from xml.dom import minidom | |
| namespaces = { | |
| 'sld': 'http://www.opengis.net/sld', | |
| 'ogc': 'http://www.opengis.net/ogc', | |
| 'gml':'http://www.opengis.net/gml' | |
| } | |
| for prefix, uri in namespaces.iteritems(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ec2 m1.small using i-93c43aed | |
| Elastic IP 54.197.230.116 assigned to instance ID i-93c43aed | |
| build.geonode.org configured to use 54.197.230.116 | |
| old server is here 184.154.70.228 (all services other than ssh are disabled) | |
| geonode-dev.pem key used | |
| Ports 80 8000 8080 and 8088 opened in ec2 security group | |
| # ssh into server | |
| sudo updatedb | |
| sudo apt-get update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # set to use sqlite by default, cant create superuser cuz read-only db | |
| # use postgres | |
| sudo su - postgres | |
| createuser geonode | |
| psql -c "alter user geonode with encrypted password 'geonode';" | |
| createdb -O geonode geonode | |
| sudo vi /etc/postgresql/9.1/main/pg_hba.conf | |
| # change local access to password | |
| sudo /etc/init.d/postgresql restart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" | |
| brew install git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DATABASES = { | |
| 'default': { | |
| 'ENGINE': 'django.db.backends.postgresql_psycopg2', | |
| 'NAME': 'geonode', | |
| 'USER': 'geonode', | |
| 'PASSWORD': 'geonode', | |
| } | |
| } | |
| # GeoNode vector data backend configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| . | |
| ├── AUTHORS | |
| ├── INSTALL | |
| ├── LICENSE | |
| ├── README | |
| ├── docs | |
| │ ├── Makefile | |
| │ ├── admin | |
| │ │ ├── backup.txt | |
| │ │ ├── commands.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "selected": false, | |
| "cached": true, | |
| "capability": { | |
| "abstract": "No abstract provided", | |
| "nestedLayers": [], | |
| "cascaded": 0, | |
| "fixedHeight": 0, | |
| "prefix": "geonode", | |
| "keywords": [], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (geonode)etzlaub:geonode jjohnson$ paver reset | |
| ---> pavement.reset | |
| ---> pavement.stop | |
| Stopping GeoNode ... | |
| rm -rf geonode/development.db | |
| git clean -xdf geoserver-geonode-ext/src/main/webapp/data | |
| Removing geoserver-geonode-ext/src/main/webapp/data/data/ | |
| Removing geoserver-geonode-ext/src/main/webapp/data/geonode/ | |
| Removing geoserver-geonode-ext/src/main/webapp/data/gwc-gs.xml | |
| Removing geoserver-geonode-ext/src/main/webapp/data/gwc-layers/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (geonode)etzlaub:geonode jjohnson$ paver setup_data | |
| ---> pavement.setup_data | |
| python manage.py importlayers /Users/jjohnson/.venvs/geonode/lib/python2.7/site-packages/gisdata/data/good -v2 | |
| Verifying that GeoNode is running ... | |
| Found 16 potential layers, importing now ... | |
| [24/Aug/2012 11:27:56] "GET /data/acls HTTP/1.1" 200 92 | |
| [24/Aug/2012 11:28:00] "GET /data/acls HTTP/1.1" 200 77 | |
| [created] Layer for '/Users/jjohnson/.venvs/geonode/lib/python2.7/site-packages/gisdata/data/good/raster/relief_san_andres.tif' (1/16) | |
| [created] Layer for '/Users/jjohnson/.venvs/geonode/lib/python2.7/site-packages/gisdata/data/good/raster/test_grid.tif' (2/16) | |
| [created] Layer for '/Users/jjohnson/.venvs/geonode/lib/python2.7/site-packages/gisdata/data/good/time/boxes_with_date.shp' (3/16) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Request URL:http://opendri.dev.opengeo.org/pycsw/ | |
| Request Method:POST | |
| Status Code:200 OK | |
| Request Headersview source | |
| Accept:*/* | |
| Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 | |
| Accept-Encoding:gzip,deflate,sdch | |
| Accept-Language:en-US,en;q=0.8 | |
| Connection:keep-alive | |
| Content-Length:569 |