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

  1. Run the prepareserverdbs.sh script by specifying the new project name. This will create the project-related schema in the database.
  2. Add the new project to the ibm-mfpf-container-7.1.0.0/mfp-server/projects folder.
  3. Run the prepareserver.sh script to rebuild the server image and push it to the IBM® Containers service.
  4. 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

  1. Update the artifacts that need to be changed in the ibm-mfpf-container-7.1.0.0/mfp-server/projects/project_name folder.
  2. Run the prepareserver.sh script to rebuild the server image and push it to the IBM Containers service.
  3. 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

  1. 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.
  2. 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.
  3. 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.