Connect Using Ionic Remote

Contents

If you are not using one of the supported git repo integrations, you can push your source code directly to Ionic Appflow using Git.

Ionic Appflow is not a replacement for a git hosting service.
It is recommended that you use a git hosting service to manage your primary app source code (GitHub, Bitbucket, etc.)!

The ionic remote is used only for interacting with the Ionic Appflow services.

Ionic Link Command

To link your local repo, simply run ionic link in the root directory of your existing project and choose Ionic Appflow as your git remote. This will allow you to select the Dashboard app you'd like to link to, create an ionic remote in your local git configuration, and create or use an existing SSH key pair for authentication when pushing changes to Ionic Appflow.

You can learn more about git remotes here.

Configure your SSH keys

Ionic remote authentication is done via public/private SSH key pairs for the most secure authentication possible. You'll need to upload a public key to Ionic Appflow to authenticate yourself. This can be automatically done during the ionic link process or manually.

Once you've selected the correct app and the Ionic Appflow remote, you will be prompted to create an SSH key pair or use an existing one. If you're not familiar with SSH keys we suggest letting the CLI automatically create and add them for you. Otherwise, you can choose to use an existing key and provide the CLI with a path to the public key on your local machine. You can also upload an existing public key in the Appflow Dashboard in the personal Settings area, which you can find by clicking your profile icon on the lower left side of the Dashboard.

翻訳するUpdated 2019-01-24
Connect your RepoInstall the Appflow SDK