Deploying your code through Git with Hostereo streamlines your development workflow. This feature allows you to generate an SSH key, add it to your Git provider, and manage your deployment directly from the platform.

Follow the steps below to leverage this powerful tool effectively and ensure your code is always up to date with the latest changes.

  1. Go to App Management

https://lh7-us.googleusercontent.com/t_favZI7H1efgItCeU61OCgogKpyheKPLXc4RDpdo3EsVAUNJmuhmVH48cJ4yXw_AZg0P5VEFStlkBsXvDfZwO4o6OaRFG2YcAVB2KbAtQM7DgxJA1mg3O9Cj1hHcuCuoV7BMygS2w-s3yCc0R2Pgmk

  1. Log into the Hostereo Platform: Use your credentials to access the platform.
  2. Navigate to Instances: Once logged in, click on 'Instances' in the top menu bar.
  3. Select Your VM: From the list of available virtual machines, select the one you want to work with.
  4. Access Server Details: After selecting your VM, click on 'Server Details' to view more options.
  5. Manage Your Application: In the 'Server Details' section, find and click on the 'App Management' tab.
  6. Deploy via Git: In the 'App Management' section, look for the 'Deployment via Git' area to start managing your application deployments.

https://lh7-us.googleusercontent.com/pKGpva2nyVlOJfhh9WY6ajMOUWodNYzzrsDEKMvwcfWBHH6t8XbUbjCKMg3JAdA8uTrqI41xZukEf10yXIym_UgppTq-soktMLhVHWWq-NCBQLzwP9ZkaejCsLtu1KgBkL61O9_0xwZNb19jxMqwiw0

2. Generating and Downloading SSH Keys

To establish a secure connection between your Hostereo server and your Git repository, follow these steps to generate and download SSH keys:

Navigate to Using Git for Deployment: In the 'App Management' section, click the 'Using Git for Deployment' tab.

https://lh7-us.googleusercontent.com/Sfhr4nJDYySe4mGgjzR4mAlq3U0N3sDPay2aT_-AdAyD4fsbjFeWC3iGmdNCQkNgQfpiOqWgnwc6YBp_96r52AJMxzjeOeqscIGpQ22LszKS3sHQIhU56hOCSp5tD337Kb9cmxxfstxpfuajwMLp28Q

Generate SSH Keys: Within the 'Using Git for Deployment' tab, find and click on the 'View SSH Keys' button. This will create a new pair of SSH keys for secure communication.

Download SSH Key: After the keys are generated, click on 'Download SSH Key'. This allows you to download the SSH Public Key, which is necessary for the next steps in the deployment process.

https://lh7-us.googleusercontent.com/_nbTETOotK5V48FcAB9AEaVCDeuoitzTs_bEEmXJracU6jA7pBO7sZwf6jIWlngbqbaSLRjLyE04PUhXo16A2mo5Oxm34FVhXyV6MhxhfAZU8hlCZDF7by9u8cQqQTkKs8suMcuk9YngFDSGxsequsI