Skip to content

Puhti and Mahti computing services have been decommissioned. Puhti and Mahti login nodes and storage services will remain available until 15 October 2026, but are no longer covered by service contracts. Please clean up and migrate your data to Roihu ASAP. See Roihu data migration guide for instructions.

Basic level

This is a simple tutorial to show how to deploy a web server using the Rahti web interface using a git repository as a source

Deploy from Git

How to set up a static web server in Rahti from a Git repository.

  1. Create a project. Instructions

  2. In the Rahti web console. Select the plus sign on the top right corner and then Import from Git.

    click_git

  3. Input the URL of the Git repository. Rahti will use that URL to clone the repository.

    import_from_git

    The Advanced Git Options allows you to change the "reference" (Branch, tag or commit) or the context dir. And also allows to add a secret to get access to the repository (username and password, or SSH keys).

  4. After inputting the URL. Rahti will validate and analyze the repository.

    import_from_git

  5. If the analysis was successful, the last step is to click on Create. After few minutes, the site should be available.

After this tutorial, you can check the Webhooks article. Web hooks will allow you to automatically re-deploy this site for every change in the main master branch.