Skip to content

Instantly share code, notes, and snippets.

@dwins
Created May 3, 2011 15:20
Show Gist options
  • Save dwins/953516 to your computer and use it in GitHub Desktop.
Save dwins/953516 to your computer and use it in GitHub Desktop.
sample gsconfig datastore creation
ds = self.cat.create_datastore()
ds.name = "gsconfig"
ds.parameters.update(
host="localhost", port="5432", database="db", user="postgres",
passwd="password", dbtype="postgis")
self.cat.save(ds)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment