This repository has been archived by the owner on Jun 7, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reworked the GIS code so that its only run once to create the templat…
…e if there is a database with gis enabled. It now works over multiple runs and doesn't attempt to create the gis template if it already exists. I've also added a second config that is used for testing purposes and makes sure that we can have multiple gis enabled projects and databases.
- Loading branch information
Showing
2 changed files
with
88 additions
and
30 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"run_list": [ "main", "python", "postgres"], | ||
|
||
"project_name": "test_project", | ||
|
||
"user": { | ||
"username": "my2site", | ||
"password": "my2sitepassword", | ||
"group": "my2siteusers" | ||
}, | ||
|
||
"virtualenvs": { | ||
"my2site" : { | ||
"packages": ["ipython", "PIL"] | ||
}, | ||
"my2site2" : { | ||
}, | ||
"my2site3" : { | ||
"packages": ["ipython", "PIL"] | ||
}, | ||
"my2site4" : { | ||
} | ||
}, | ||
|
||
"postgres_password": "postgres", | ||
|
||
"databases": { | ||
"my2_database": { | ||
"username": "my_user", | ||
"password": "password" | ||
}, | ||
"my2_second_database": { | ||
"username": "my_user", | ||
"password": "password", | ||
"gis": true | ||
}, | ||
"my2_database2": { | ||
"username": "my_user", | ||
"password": "password" | ||
}, | ||
"my2_second_database2": { | ||
"username": "my_user", | ||
"password": "password", | ||
"gis": true | ||
} | ||
} | ||
|
||
} |