PaaS
INFO
Shopware PaaS is available at request for Shopware merchants. Please approach the Shopware Sales to get more information on Shopware PaaS
Shopware PaaS is a platform-as-a-service to host, deploy and scale for your individual Shopware project. It comes with full flexibility and code ownership of a self-hosted Shopware project, but takes away the complexity of building custom infrastructure, build and testing pipelines, or deployment automation.
Get started by installing the PaaS CLI on your local development machine.
Getting started with PaaS - How to deploy your first project
INFO
Prerequisites:
- Having a Shopware PaaS account (Select Register now on the authentication form when accessing https://console.shopware.com)
- Having the project_id of an empty project created on Shopware PaaS
- Having the Shopware PaaS CLI installed, see https://developer.shopware.com/docs/products/paas/cli-setup.html
Steps:
- Create a local Shopware project on your laptop
composer create-project shopware/production demo --no-interaction --ignore-platform-reqs
- Enter the folder newly created
cd /demo
- Install the PaaS composer package
composer req paas
- Initialize your local Git repository
git init
- Add all the existing files to Git
git add .
- Create your first commit
git commit -am "initial commit"
- Configure the CLI with your project_id
shopware project:set-remote PROJECT_ID
Where PROJECT_ID is the project_id of your empty project.
- Push the code to Shopware PaaS
git push shopware
Step-by-step guide
The sub-pages describe a more detailed step-by-step guide that you can follow to set up your PaaS project.
First of all make sure your CLI is set up correctly. Once your CLI is up and running, it is time to set up your project repository.
When your repository is set up correctly, you are ready to push and deploy your project to the PaaS environment.
Finally, you can look into setting up Elasticsearch, RabbitMQ and/or Fastly to further enhance the performance of your PaaS project.