Here is a step-by-step Guide for Shopware 6:
- Create LAMP App and change the memory limit to 2 GB (Resources Tab)
- Open Cloudron File Manager and add
memory_limit = 512M
to php.ini and switch to PHP 8.2 in PHP_VERSION - Download Shopware Installer (https://github.com/shopware/web-recovery/releases/latest/download/shopware-installer.phar.php)
- Upload this file to the
/public
directory and open it https://yourdomain.com/shopware-installer.phar.php and complete the download process - After Download, the page automatically reloads and shows Welcome to Shopware 6 - do not continue here
- Go to Cloudron File Manager and open
/apache/app.conf
and change the DocumentRoot to/app/data/public/public
then addRemoveHandler type-map .var
to/public/.htaccess
above or below the shopware config and restart the app - Now you can open https://yourdomain.com/installer and enter the mysql credentials from credentials.txt (cloudron file manager root directory)
- After the setup, you have the option to configure mail, choose configure own smtp server and enter the sendmail credentials from credentials.txt
Additional info for mail if you use Cloudrons mail system instead of an external service: Make sure that the Shop owner's email address inSettings -> Basic Configuration
is the Cloudron address, if you want to use another mail address there, you have to enable Masquerading in Cloudron Outbound Email settings. Use Port 2525 and no encryption.
- If you want to change the primary domain afterwards, you can edit the APP_URL in
/public/.env.local
- If you want to add multiple domains for different Storefronts it just works after adding the Alias Location in Cloudron
Icon for launcher: https://i.imgur.com/xCR7bwQ.png
I don't think this is a best-practise configuration for Shopware, but it works, no errors so far after this short installation and test.