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
#! /usr/bin/env python | |
from geoserver.catalog import Catalog | |
from geoserver.resource import WmsLayer | |
from owslib.wms import WebMapService | |
url = "http://geonode.opensandiego.org/geoserver-geonode-dev/wms" | |
cat = Catalog('http://localhost:8001/geoserver/rest', 'admin', 'admin') |
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 csv | |
from github2.client import Github | |
# api settings for github | |
git_username = '' | |
git_api_token = '' | |
git_repo = '' | |
# csv name | |
csv_name = "git_hub_issues.csv" |
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 |
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
(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
{ | |
"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
. | |
├── 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
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
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
# 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 |
OlderNewer