Skip to content

Docs CSC now features an automatic Finnish translation. Click here for more information.

Warning!

Puhti and Mahti are being decommissioned in stages, and their storage areas will become fully unavailable from 15 October 2026. Clean up unnecessary files and move any data you need to keep by 31 August 2026. See the Roihu data migration guide for instructions on transferring your data to Roihu.

Puhti scratch is very full: keep only active data there and move or delete everything else. No new Puhti scratch quota will be granted.

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 Openshift 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. OpenShift 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. OpenShift 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.