This file contains 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
{ | |
"jobTypes" : [ | |
{ | |
"featureDefinitions" : [ | |
{ | |
"featureClass" : "Pole", | |
"geometryType" : "Point", | |
"featureIdAttribute" : "Number", | |
"arColor" : "#ffff00", | |
"fixedDistanceInformation" : { |
This file contains 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
http://docs.geonode.org/en/master/tutorials/overview_and_ref/reference_doc/architecture.html | |
workon geonode_live | |
cd geonode_live | |
python manage.py updatelayers | |
python manage.py loaddata ../geonode/geonode/base/fixtures/initial_data.json |
This file contains 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 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 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 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 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 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 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 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/ |
NewerOlder