Skip to content
Last updated

Setting up a project in Ionic Appflow

  1. EGYM creates a new Team for PARTNER
  2. EGYM creates a new project in appflow and configures deployment channels and automated deployments. New project is assigned to the new Team.
  3. EGYM sends invite for a new member, in the invitation form a PARTNER's member assigns to the new Team.
  4. EGYM consults PARTNER with how to connect their repository to the project in appflow (either by ionic git or by github/bitbucket/gitlab integration - PARTNER developer should have a permission from respective platform to connect hooks into repository). Connecting git hosts can only be done by EGYM admins, so the process could be achieved during an online call by temporarily assigning a PARTNER the Admin role.
  5. PARTNERS makes an update to their codebase so changes reflected in appflow as well.
  6. EGYM makes sure that code changes are propagated into all deployment channels
  7. EGYM IMP Only once all deployment channels have set with builds, EGYM creates a new BMA build in App Crasher configured with all deployment channels
  8. EGYM IMP configures MWA features (input may be required for e.g. image and text displayed on the mwa widget)

Deployment channels and automations

image.png

image.png

Connect Ionic Git instructions

Only needed if PARTNER's code hosting platform Github|Gitlab|Bitbucket connection doesn't work due to insufficient permesions etc

Ionic Appflow uses git to manage new app builds, push app updates, and more. Before using Ionic Appflow's git workflow, you must add a valid SSH key to your account. Ionic Appflow's git service is not a replacement for your source code management service of choice, such as GitHub or GitLab.

Configuring a new app

Once your app has been created through the Ionic CLI, linking your app to Ionic Appflow and your git remote is easy:

ionic link {appId}

Setting up a team member locally

Once your team member has permissions via your Organization or Team for this app, they can interact with Ionic Appflow too. They will need to clone your apps repository (usually from your own Git Host, like GitLab).

Then they can run the following command in your Apps directory on their machine to set up the correct "ionic" git remote:

ionic git remote

Cloning from Ionic Appflow

We don't recommend using Ionic Appflow as your authoritative source code management service. However, occasionally it's useful to clone directly from Ionic Appflow. To do this, run

git clone  --origin=ionic

Don't forget to add your origin remote to link to your source code service choice (such as GitHub or GitLab).

git remote add origin [REPOSITORY_URL]

Further reading

Read Ionic Appflow's Git documentation to learn more about interacting with the git service.