Adding, updating, and removing projects
This topic provides instructions for adding a project to and updating an existing project in a container, and for removing a project from an image.
Adding a project to your IBM MobileFirst Platform Foundation container
- Run the prepareserverdbs.sh script by specifying the new project name. This will create the project-related schema in the database.
- Add the new project to the ibm-mfpf-container-7.1.0.0/mfp-server/projects folder.
- Run the prepareserver.sh script to rebuild the server image and push it to the IBM® Containers service.
- Run the script startserver.sh to run the image as a standalone container or startservergroup.sh to run the image as a container group.
Updating a project in your IBM MobileFirst Platform Foundation container
- Update the artifacts that need to be changed in the ibm-mfpf-container-7.1.0.0/mfp-server/projects/project_name folder.
- Run the prepareserver.sh script to rebuild the server image and push it to the IBM Containers service.
- Run the startserver.sh script to run the server image as a standalone container or startservergroup.sh to run the server image as a container group.
Removing a project from the IBM MobileFirst Platform Foundation container image
- Run the removeproject.sh script to remove the project from the IBM MobileFirst™ Platform Foundation container image. You can also choose to clear the project-related data from the databases.
- After removing the project from the project folder, run the prepareserver.sh script to rebuild the server image and push it to the IBM Containers service.
- Run the startserver.sh script to run the server image as a standalone container or startservergroup.sh to run the server image as a container group.