#!/bin/bash ### DONT OVERWRITE THIS FILE app_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." &> /dev/null && pwd) ### GENERAL project_name='www.domain.de' ### STAGE stage_ssh_user='your-user' stage_ssh_domain='your-domain' stage_ssh_key_file='/path/to/.ssh/key' stage_httpdocs_path='/var/www/vhosts/domain.de/httpdocs' stage_httpdocs_slug='/shopware' # optional slug if you install the software not directly in httpdocs stage_database_socket='' stage_database_host='localhost' stage_database_port='3306' stage_database_name='database_name' stage_database_user='database_user' stage_database_password='database_password' # only needed if you want to create a database stage_database_admin_user='' stage_database_admin_password='' ### LIVE live_ssh_user='user' live_ssh_domain='domain.de' live_ssh_key_file='' live_httpdocs_path='/var/www/vhosts/domain.de/httpdocs' live_httpdocs_slug='' live_database_socket='' live_database_host='localhost' live_database_port='3306' live_database_name='name' live_database_user='user' live_database_password='password' # only needed if you want to create a database live_database_admin_user='' live_database_admin_password='' ### LOCAL STAGE local_stage_host='localhost' local_stage_slug='/shopware' local_stage_database_socket='' local_stage_database_host='localhost' local_stage_database_port='3306' local_stage_database_name='name_stage' local_stage_database_user='user' local_stage_database_password='password' # only needed if you can't create database and want to create a database local_stage_database_admin_user='' local_stage_database_admin_password='' ### LOCAL LIVE local_live_host='localhost' local_live_slug='/shopware' local_live_database_has_socket='n' local_live_database_socket='' local_live_database_host='localhost' local_live_database_port='3306' local_live_database_name='name_live' local_live_database_user='user' local_live_database_password='password' # only needed if you can't create database and want to create a database local_live_database_admin_user='' local_live_database_admin_password='' ### SHOPWARE local_shopware_user='user' local_shopware_email='email' local_shopware_firstname='Name' local_shopware_lastname='Lastname' install_shopware_name="Project" install_shopware_email="$local_shopware_email" install_shopware_locale='de_DE' install_shopware_currency='EUR' install_shopware_storefront_name="Storefront" install_shopware_storefront_url='https://localhost/domain.de/www.domain.de' ### MAILER local_mailer_url='smtp://localhost:1025' ### GIT git_ssh_key_file='' git_url='' git_shopware_path='' # you can update stage with data from live live_to_stage_live_urls=("https://www.domain.de") live_to_stage_stage_urls=("https://stage.domain.de") # if you copy the stage state to local stage_to_local_stage_urls=("https://stage.domain.de") stage_to_local_local_urls=("https://localhost/domain.de/stage.domain.de") # here more complete, copy the live system to local live_to_local_live_urls=( "https://www.domain.de" "http://www.domain.de" ) live_to_local_local_urls=( "https://localhost/domain.de/www.domain.de" "http://localhost/domain.de/www.domain.de" ) ### GDPR SHOPWARE 6 TABLES gdpr_tables=( acl_user_role cart customer customer_address customer_recovery customer_tag customer_wishlist customer_wishlist_product elasticsearch_index_task import_export_log integration integration_role log_entry message_queue_stats newsletter_recipient newsletter_recipient_tag order order_address order_customer order_delivery order_delivery_position order_line_item order_tag order_transaction product_export product_review promotion_persona_customer refresh_token sales_channel_api_context state_machine_history user user_access_key user_config user_recovery version version_commit version_commit_data klarna_payment_request_log payone_payment_card payone_payment_mandate payone_payment_redirect unzer_payment_payment_device unzer_payment_transfer_info enqeueue product_keyword_dictionary product_search_keyword ) ### Media Files import_media_files=( "/files" "/public/media" ) ### POST SCRIPT if [ -f "$app_dir/bin/post_config.sh" ] then source "$app_dir/bin/post_config.sh" fi