v1.0.7
This release mainly contains new features and improvements for supporting the new Modeling App (which is replacing the old Prediction App as a frontend to the Chap Modeling Platform). This means that this is the first version of chap-core that supports the Modeling App, and that this version is not backwards-compatible with the Prediction App. Users of the Modeling App will now get a warning if they have an incompatible version of the chap-core python package (backend).
This version also has some minor fixes and improvements:
- New API endpoint for checking version compatibility with the Modeling App.
- Some improvements in logging and error handling
- Some initial support for more flexible model configuration (currently only through the command line, plan is to support this in the Modeling app in the future).
- Improvements to the docker compose setup with autoreload functionality
- Google Earth credentials are no longer required for using chap-core with the Modelling app
How to install this release on a server
Step 1 | NB! Only needed if you already have the chap-core repo, otherwise skip to step 2
2.1 If you already have the folder since you previously cloned the CHAP core repo, go into the folder (chap-core) and run the command below. This will shut down running containers related to CHAP. Be aware it will also delete stored data in CHAP, such as predictions.
docker compose down --volumes2.2. Fetch all new versions
git fetch --tags 2.3. Run the command below to switch the repo to v1.0.7, this is not necessary if you cloned the repo/started from scratch (step 1)
git switch v1.0.7 --detachStep 2: NB! Only if you have not proceeded with step 1 (you not have the chap-core repo)
Run this command, if you have not cloned the chap-core repo before, or you are starting from scratch, for instance, if you are deploying through GitHub Actions.
git clone --depth 1 --branch v1.0.7 https://github.com/dhis2-chap/chap-core.gitStep 3 | Start chap-core
Within the chap-core folder, rebuild and start the containers in detach mode:
docker compose up --build -d