-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 0.5. Includes test fixtures for usecase-1 (city wide procurem…
…ent portfolio and associated emissions)
- Loading branch information
Showing
16 changed files
with
42,274 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
source ./venv/bin/activate | ||
|
||
python3 manage.py dumpdata --format=json --indent 2 portfolio.PortfolioManager -o portfolio/fixtures/usecase-1/PortfolioManager.json | ||
|
||
python3 manage.py dumpdata --format=json --indent 2 portfolio.ProjectPortfolio -o portfolio/fixtures/usecase-1/ProjectPortfolio.json | ||
|
||
python3 manage.py dumpdata --format=json --indent 2 portfolio.Project -o portfolio/fixtures/usecase-1/Project.json | ||
|
||
python3 manage.py dumpdata --format=json --indent 2 portfolio.Contractor -o portfolio/fixtures/usecase-1/Contractor.json | ||
|
||
python3 manage.py dumpdata --format=json --indent 2 portfolio.ProjectActivity -o portfolio/fixtures/usecase-1/ProjectActivity.json | ||
|
||
python3 manage.py dumpdata --format=json --indent 2 portfolio.ProjectEvent -o portfolio/fixtures/usecase-1/ProjectEvent.json | ||
|
||
python3 manage.py dumpdata --format=json --indent 2 portfolio.ProjectAsset -o portfolio/fixtures/usecase-1/ProjectAsset.json | ||
|
||
python3 manage.py dumpdata --format=json --indent 2 portfolio.GPPEmissionsSource -o portfolio/fixtures/usecase-1/GPPEmissionsSource.json | ||
|
||
python3 manage.py dumpdata --format=json --indent 2 portfolio.MultiAreaSource -o portfolio/fixtures/usecase-1/MultiAreaSource.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
source ./venv/bin/activate | ||
|
||
python3 manage.py loaddata portfolio/fixtures/usecase-1/PortfolioManager.json | ||
python3 manage.py loaddata portfolio/fixtures/usecase-1/ProjectPortfolio.json | ||
python3 manage.py loaddata portfolio/fixtures/usecase-1/Project.json | ||
python3 manage.py loaddata portfolio/fixtures/usecase-1/Contractor.json | ||
python3 manage.py loaddata portfolio/fixtures/usecase-1/ProjectActivity.json | ||
python3 manage.py loaddata portfolio/fixtures/usecase-1/ProjectAsset.json | ||
python3 manage.py loaddata portfolio/fixtures/usecase-1/ProjectEvent.json | ||
python3 manage.py loaddata portfolio/fixtures/usecase-1/GPPEmissionsSource.json | ||
python3 manage.py loaddata portfolio/fixtures/usecase-1/MultiAreaSource.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
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
Oops, something went wrong.