Skip to main content

Server Deployment (Shopware)

Deploy Shopware on a Server via our Git Skeleton

Start with an empty Server. Then just clone our Skeleton Repository in the version you want on there a command like this one in the ssh shell:

git clone https://git.econsor.net/shopware/shopware-6/_skeleton.git .

This will have given you a complete collection of Shopware Files.

Set up your econsor packages token

To set up your econsor packages token, simply add it to your project's composer.json file. Navigate to the "repositories" array and add the following object to it:

{
"type": "composer",
"url": "https:\/\/token:YOUR-API-TOKEN@packages.econsor.net\/r"
}

YOU WILL GET THIS TOKEN EITHER FROM Karl-Heinz Harris OR Christian Schiffler!

Run composer commands

Next, you will have to run the composer install and composer update commands. Install will set up all dependencies and download all the necessary stuff, and update will then, among other things, download all the required Econsor Plugins to the vendor folder.

Create the .env file via command

Now, you will need to run the ./bin/console system:setup command. You will be asked for a few things, among which is the database login data set.

Read everything extra carefully, it is easy to make mistakes here. If you're unsure about something, use the default value of a prompt by simply hitting enter.

Install Shopware

Now, all that is left for you to do is to install shopware! Run this command:

./bin/console system:install --create-database --basic-setup

Do not forget the database and setup arguments!

Yay!

You should now have a functioning Shopware installation!