### Configure Apache vHost for Shopware 6 Source: https://docs.shopware.com/en/shopware-6-en/first-steps/installing-shopware-6 Example Apache vHost configuration for Shopware 6. Remember to replace '_HOST_NAME_' and '_SHOPWARE_DIR_' with your specific values. The DocumentRoot should point to the Shopware installation directory. ```apache ServerName "_HOST_NAME_" DocumentRoot _SHOPWARE_DIR_ Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all ErrorLog ${APACHE_LOG_DIR}/shopware-platform.error.log CustomLog ${APACHE_LOG_DIR}/shopware-platform.access.log combined LogLevel debug ``` -------------------------------- ### Install Profiler Bundle for Development Environment Source: https://docs.shopware.com/en/shopware-6-en/update-guides/updating-shopware Prior to Shopware 6.4.17.0, install the Profiler bundle to enable APP_ENV=dev. ```bash composer require --dev profiler ``` -------------------------------- ### Apache Virtual Host Configuration for Shopware 6 Source: https://docs.shopware.com/en/shopware-6-en/first-steps/installing-shopware-6?category=shopware-6-en%2Fgetting-started&version=1.4.0.0 Example Apache Virtual Host configuration for a Shopware 6 installation. Remember to replace placeholders like _HOST_NAME_ and _SHOPWARE_DIR_ with your specific settings. This setup is recommended before installation. ```apache ServerName "_HOST_NAME_" DocumentRoot _SHOPWARE_DIR_ Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all ErrorLog ${APACHE_LOG_DIR}/shopware-platform.error.log CustomLog ${APACHE_LOG_DIR}/shopware-platform.access.log combined LogLevel debug ``` -------------------------------- ### Example .env File Structure Source: https://docs.shopware.com/en/shopware-6-en/tutorials-and-faq/notes-to-the-APP-URL?category=shopware-6-en%2Ftutorials-und-faq%2Fgeneral-information This example shows the typical structure of the .env file, including the APP_URL configuration. Ensure this file is accessible via FTP or SSH. ```env APP_ENV="prod" APP_URL="https://YOUR-DOMAIN" DATABASE_URL="mysql://YOUR-DATABASE" SHOPWARE_ES_HOSTS="elasticsearch:9200" SHOPWARE_ES_ENABLED="0" SHOPWARE_ES_ENABLED="0" SHOPWARE_ES_INDEXING_ENABLED="0" SHOPWARE_ES_INDEX_PREFIX="sw" SHOPWARE_HTTP_CACHE_ENABLED="1" SHOPWARE_HTTP_DEFAULT_TTL="7200" ... ``` -------------------------------- ### Start Shopware Update Wizard Source: https://docs.shopware.com/en/shopware-6-en/update-guides/updating-shopware?category=shopware-6-en%2Fupdate-guides&version=1.1.0.1 Use this command to initiate the Shopware update wizard. Follow the on-screen prompts to complete the update. ```bash php public/recovery/update/index.php ``` -------------------------------- ### Access Shopware Installer via Browser Source: https://docs.shopware.com/en/shopware-6-en/update-guides/updating-shopware To start the update process using the Shopware Installer, navigate to the installer PHP file in your web browser. Ensure the file is uploaded correctly, preferably using binary transfer mode. ```html www.my-url.com/shopware-installer.phar.php ``` -------------------------------- ### List All Available Shopware Console Commands Source: https://docs.shopware.com/en/shopware-6-en/tutorials-and-faq/shopware-cli?category=shopware-6-en%2Ftutorials-und-faq%2Fgeneral-information&version=1.0.0 Use this command to get a comprehensive list of all available console commands in your Shopware installation. ```bash php bin/console list ``` -------------------------------- ### Install a Shopware App Source: https://docs.shopware.com/en/shopware-6-en/tutorials-and-faq/shopware-cli?category=shopware-6-en%2Ftutorials-und-faq%2Fgeneral-information&version=1.1.0.1 Use this command to install an app into your Shopware system. Ensure the app is correctly structured and placed in the appropriate directory. ```bash php bin/console app:install ``` -------------------------------- ### Get Commercial License Information Source: https://docs.shopware.com/en/shopware-6-en/tutorials-and-faq/shopware-cli?category=shopware-6-en%2Ftutorials-und-faq%2Fgeneral-information&version=1.2.0.0 Provides details about the current commercial licensing status of your Shopware installation, including the validity and type of license. ```bash php bin/console commercial:license:info ``` -------------------------------- ### Get General Help for Shopware CLI Commands Source: https://docs.shopware.com/en/shopware-6-en/tutorials-and-faq/shopware-cli?category=shopware-6-en%2Ftutorials-und-faq%2Fgeneral-information&version=1.0.0 Access the main help page for Shopware's command-line interface to understand general usage and options. ```bash php bin/console --help ```