Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 39 additions & 6 deletions products/paas/shopware/fundamentals/applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
10 changes: 8 additions & 2 deletions products/paas/shopware/get-started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,20 @@ Initialize a new PaaS project:
sw-paas project create --name "my-shopware-app" --repository "[email protected]: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
Expand Down
Loading