diff --git a/products/paas/shopware/fundamentals/applications.md b/products/paas/shopware/fundamentals/applications.md index 4136289bc..64d8dc698 100644 --- a/products/paas/shopware/fundamentals/applications.md +++ b/products/paas/shopware/fundamentals/applications.md @@ -14,13 +14,13 @@ For instance, you might allocate smaller, hibernating compute instances for stag ## Creating an Application -Deploy a new application to a project: +Create a new application to a project: ```sh sw-paas application create ``` -## Build and Deployments +## Build your application To trigger a new build for the application via CLI, use the following command: @@ -34,6 +34,41 @@ This command initiates the build process, packaging your application and prepari sw-paas application build logs ``` +## Update your application + +To update your application, you need to run the following command, and provide the commit SHA: + +```sh +sw-paas application update +``` + +This command initiates the build process, wait until its done and run the deployment for you. + +## Deploy a specific build of your application + +To create a deployment with a specific build, use the following command: + +```sh +sw-paas application deploy create +``` + +It will let you chose, which build you want to deploy. +This is very handy, since you chose any successful build to deploy. The lastest one to bring your change live, or previous one to fix an issue that arise. + +## Deployments management + +To list all past deployments: + +```sh +sw-paas application deploy list +``` + +To get details about a given deployment: + +```sh +sw-paas application deploy get +``` + ## Plugin Management Plugin management is done [via Composer](../../../../guides/hosting/installation-updates/extension-managment#installing-extensions-with-composer) because the platform runs in a high-availability and clustered environment. @@ -112,16 +147,14 @@ cdn.shopware.shop This configuration ensures that all traffic to your custom domain is routed through the Fastly CDN for optimal performance and caching. -#### Application Updates +#### Application Deployment Following domain creation, you must redeploy your application. You can do it by using: ```sh -sw-paas application build start +sw-paas application deploy create ``` -This process will be automated in future releases. - #### Shopware Configuration Subsequently, you can configure the domain within Shopware and associate it with a storefront. Status update functionality is currently under development and should be considered a beta feature. diff --git a/products/paas/shopware/get-started/quickstart.md b/products/paas/shopware/get-started/quickstart.md index cb6bfd30b..264a44899 100644 --- a/products/paas/shopware/get-started/quickstart.md +++ b/products/paas/shopware/get-started/quickstart.md @@ -71,14 +71,20 @@ Initialize a new PaaS project: sw-paas project create --name "my-shopware-app" --repository "git@github.com:username/repo.git" ``` -## Step 4: Deploy an Application Instance of the project +## Step 4: Create and deploy an Application Instance of the project -Deploy your application. Choose your earlier created project: +Create your application: ```sh sw-paas application create ``` +Then, deploy your application: + +```sh +sw-paas application deploy create +``` + Monitor the deployment progress: ```sh