CHaMP Workbench
Before you build don't forget:
- Execute
RetrieveWorkbenchMasterDB.bat
to get a copy of the ZIP file for this project - Execute
DownloadCPPLibs.bat
to get rasterman and any other libs you might need.
Report Transforms
All the reports get generated by applying an XSL transform to XML. The XSL files in this repo are built in another repo. DO NOT EDIT THEM DIRECTLY
To update the XSL transforms:
- Make changes to the
champ-xsl-reports
repo - Push your changes to
champ-xsl-reports
- Verify that the report is correct using the address like: http://releases.northarrowresearch.com/reports/master/html/watershed.html
- Run the batch file ()
Setting up for development
- Clone this repo.
- Double click the
DownloadCPPLibs.bat
to get the latest libs including rasterman etc. - Make sure Nuget is installed on your machine and download all nuget packages for workbench.
- Double click the
RetrieveWorkbenchMasterDB.bat
to get a copy of the latest template DB. - Copy the
secrets_TEMPLATE.xml
and call itsecrets.xml
. Enter the GeoOptix and AWS credentials.
You should be good to build. Contact us if you have problems.
Build Checklist
1. If the DB Schema is changed:
- Make sure the template workbench Access DB has the right version.
- Make sure the Project-> settings version matches from step 1.
- Make sure the
RetrieveWorkbenchMasterDB.bat
contains the right version number. - Zip up the template workbench DB and make sure it gets uploaded to
s3://releases.northarrowresearch.com/CHaMPWorkbench/MasterDatabase/WorkbenchMaster_V##.zip
- Run
RetrieveWorkbenchMasterDB.bat
- (optional) Do a git commit with a message like "Upgrading DB to V29"
2. In all cases:
- Increment the Assembly versions.
- Do a publish and make sure the autobuild version is implemented correctly. Make sure the install URL is correct:
http://releases.northarrowresearch.com/CHaMPWorkbench/
- Do a
git commit
. Make sure to TAG IT with the version number from step 1. - S3 sync the publish folder to the correct bucket.