note

Project and instance code repository management

Project and instance code repository management

Repository: https://en.wikipedia.org/wiki/Repository_(version_control)

How to add your code repository

Step 1: register the repository to your project

  • Repositories registered at project level are available for your instances

  • Choose SSH if you repository is private or requires user authentication

  • Choose HTTPS for publicly available repositories

  • Optional repositories need to be added separately to your instance

The platform generates an SSH key for SSH repositories.

You need to add the SSH key to your repository so that the platform can pull code from the repository

You need to allow write access for the SSH key to your repository (github, bitbucket, etc) if you want to push code to the repository from your instance

Step 2 (optional): add repository to your instance

Optional repositories need to be added manually to you instance

Required repositories are automatically available

Step 3: stop and update your instance