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.
-
Create a project. Instructions
-
In the Openshift web console, switch to the Developer perspective. Select Add from the navigation panel. To create an application, under Developer Catalog list Select Import from Git.
-
Input the URL of the Git repository. OpenShift will use that URL to clone the repository.
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). -
After inputting the URL. OpenShift will validate and analyze the repository.
-
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 chang ein the mail master branch.