-
Notifications
You must be signed in to change notification settings - Fork 813
Update Environments article #7000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,47 +1,79 @@ | ||
| --- | ||
| description: Environments are a core part of your Umbraco Cloud project. This is where you will develop, write, build and eventually publish your website. | ||
| --- | ||
|
|
||
| # Environments | ||
|
|
||
| ## What is an environment? | ||
| An Umbraco Cloud environment is defined as a _workspace_ and is at the same time a Git repository. When you have more than one environment on your project, these environments will act as branches of the main repository. | ||
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Umbraco Cloud uses a deployment model that relies on Git and other core technology. This gives you the option to move both content and structure files from one environment to another. Learn more in the [Deployment section](../deployment/README.md). | ||
|
|
||
| You can have multiple environments on your Umbraco Cloud project and there are two types of environments available. These are **Mainline Environments** and **Flexible Environments**. | ||
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| The image below shows a Cloud setup including 2 mainline environments and 1 flexible environment connected to the left-most mainline environment. | ||
|
||
|
|
||
| An environment on an Umbraco Cloud project can be defined as a _workspace_ and is at the same time a Git repository. When you have more than one environment on your project, these environments will act as branches of the main repository. | ||
|  | ||
|
|
||
| Umbraco Cloud uses a deployment model that relies on Git and other core technology, which gives you the option to move both content and structure files from one environment to another. Learn more in the [Deployment section](../deployment/). | ||
| ## Mainline Environments | ||
|
|
||
| When you have multiple environments in your Umbraco Cloud project: | ||
| A mainline environment serves as the root deployment pipeline, responsible for managing code and content flow. Each mainline environment is a part of the [left-to-right deployment workflow](../deployment/README.md). | ||
|
|
||
| * The _Development_ environment is the first environment in the workflow. | ||
| The **left-most mainline environment** is where you can connect to your local machine using Git. This environment is often called the Development environment. | ||
|
|
||
| This is the environment you are going to work with when building the structure of your website. This is also the environment you clone down when you want to work on your project locally. | ||
| The **right-most mainline environment** is your live website, often called the Live or Production environment. | ||
|
|
||
| The Development environment is included in the Standard and Professional plans on Umbraco Cloud. In the Starter plan, you have the option to add the Development environment. | ||
| * The environment next in line in the workflow is the _Staging_ environment. | ||
| Each mainline environment can have one or more flexible environments branching off from it. | ||
|
|
||
| This environment enables you to give your team members different workspaces - the developers can work with code in the Development environment while content editors can work with content in the Staging environment. All of this without affecting the actual public site. | ||
| ## Flexible Environments | ||
|
|
||
| The Staging environment is included in the Professional plan. In the Standard plan, you have the option to add the Staging environment. | ||
| A flexible environment is an environment that branches off a mainline environment. It is positioned vertically from the mainline deployment flow. | ||
|
|
||
| {% hint style="info" %} | ||
| Both the Development and the Staging environments are protected with **basic authentication**. This means that you must log in to see the frontend of these environments. | ||
| {% endhint %} | ||
| Changes made on a flexible environment can only be pushed to the next designated Mainline Environment in the pipeline. | ||
|
|
||
| * The final environment is the _Live_ environment. | ||
| Technically, the flexible environment connected only to its mainline environment using a Git remote. This ensures that changes follow a structured path while still allowing flexibility in development workflows. | ||
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| This is your live site - the site that's visible to the public. When you are in trial mode the Live environment will be protected by basic authentication - this will be removed as soon as you set up a subscription for the project. | ||
| Learn more about how this works in the [Flexible Environments](flexible-environments.md) article. | ||
|
|
||
| The Live environment is included in the Standard and Professional plans on Umbraco Cloud. | ||
| ## Plans and availability | ||
|
|
||
| For more information about the workflow on Umbraco Cloud, see the [Deployments](../deployment/) article. Below you will find a technical overview of the different parts that make up an environment on your Umbraco Cloud project: | ||
| <table> | ||
| <thead> | ||
| <tr> | ||
| <th width="117">Plan</th> | ||
| <th width="116" data-type="number">Mainline Environments</th> | ||
| <th width="167" data-type="checkbox">Flexible Environments</th> | ||
| </tr> | ||
| </thead> | ||
| <tbody> | ||
| <tr> | ||
| <td>Starter</td> | ||
| <td>2</td> | ||
| <td>false</td> | ||
| </tr> | ||
| <tr> | ||
| <td>Standard</td> | ||
| <td>3</td> | ||
| <td>true</td> | ||
| </tr> | ||
| <tr> | ||
| <td>Professional</td> | ||
| <td>4</td> | ||
| <td>true</td> | ||
| </tr> | ||
| </tbody> | ||
| </table> | ||
|
|
||
|  | ||
|
|
||
| ## Site and Git Repository | ||
|
|
||
| Each environment on Umbraco Cloud has both a Git repository and a folder with your actual live site. The Git repository is what you clone down when you work with the project locally, and it's where your changes are pushed to. | ||
|
|
||
| The live site (`/site/wwwroot/`) contains the files used to show your website to the world. When you push changes from your local machine, they are pushed to the Git repository (`/site/repository/`), and when this finishes successfully the changes are copied into the live site. | ||
| The live site (`/site/wwwroot/`) contains the files used to show your website to the world. When pushing changes from your local machine, they are pushed to the Git repository (`/site/repository/`). When this finish successfully the changes are copied into the live site. | ||
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Team Members/Invite Users | ||
| ## Team Members | ||
|
|
||
| All the team members you add through the Umbraco Cloud Portal will also be added as backoffice users in your environments. As with any other Umbraco CMS installation, you can also add users directly in the backoffice of your Umbraco Cloud environments. If you do this, the user will not have the option to deploy changes between the environments. | ||
| All the team members you add through the Umbraco Cloud Portal will also be added as backoffice users in your environments. You can also add users directly in the backoffice of your Umbraco Cloud environments. If you do this, the user will not have the option to deploy changes between the environments. | ||
|
|
||
| Read more about this and team member roles in the [Team Members](../set-up/project-settings/team-members/) article. | ||
|
|
||
|
|
@@ -53,14 +85,14 @@ Learn more about how to connect to your Umbraco Cloud databases in the [Database | |
|
|
||
| ## Power Tools (Kudu) | ||
|
|
||
| Aside from viewing the files on your Umbraco Cloud environments when cloning down the project to your local machine, you also have access to what we call **Power Tools** - Kudu. | ||
| Aside from viewing the files when cloning down the project to your local machine, you also have access to Kudu (Power Tools). | ||
|
|
||
| This is a dashboard that allows you to browse, view, and edit all the files in your Umbraco Cloud environment. We recommend using the tool _only_ when you are following one of our guides in the Troubleshooting section. | ||
| Kudu is a dashboard that allows you to browse, view, and edit all the files in your environments. We recommend using the tool _only_ when you are following one of our guides. | ||
|
|
||
| In the [Power Tools](../set-up/power-tools/) article, you can read more about how to access the dashboard, and how we recommend using it. | ||
|
|
||
| ## Environment History | ||
|
|
||
| Each of your Umbraco Cloud environments has a Git repository and therefore also a Git history. We've made a simplified view of this Git history in the Umbraco Cloud Portal - the **Environment History**. | ||
| Each of your Umbraco Cloud environments has a Git repository and therefore also a Git history. We've made a simplified view of this Git history in the Cloud Portal. The **History** is found via the action menu available on each environment in the environments overview on your project. | ||
|
|
||
| In this view, you'll be able to see what file changes have been made in each environment. | ||
| In the History view, you'll be able to see what file changes have been made in the environment. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.