Ein für Shopware 6 vorbereitet Systemmanagment.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

211 lines
4.2 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. #!/bin/bash
  2. ### DONT OVERWRITE THIS FILE
  3. app_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." &> /dev/null && pwd)
  4. ### GENERAL
  5. project_name='www.domain.de'
  6. ### STAGE
  7. stage_ssh_user='your-user'
  8. stage_ssh_domain='your-domain'
  9. stage_ssh_key_file='/path/to/.ssh/key'
  10. stage_httpdocs_path='/var/www/vhosts/domain.de/httpdocs'
  11. stage_httpdocs_slug='/shopware' # optional slug if you install the software not directly in httpdocs
  12. stage_database_socket=''
  13. stage_database_host='localhost'
  14. stage_database_port='3306'
  15. stage_database_name='database_name'
  16. stage_database_user='database_user'
  17. stage_database_password='database_password'
  18. # only needed if you want to create a database
  19. stage_database_admin_user=''
  20. stage_database_admin_password=''
  21. ### LIVE
  22. live_ssh_user='user'
  23. live_ssh_domain='domain.de'
  24. live_ssh_key_file=''
  25. live_httpdocs_path='/var/www/vhosts/domain.de/httpdocs'
  26. live_httpdocs_slug=''
  27. live_database_socket=''
  28. live_database_host='localhost'
  29. live_database_port='3306'
  30. live_database_name='name'
  31. live_database_user='user'
  32. live_database_password='password'
  33. # only needed if you want to create a database
  34. live_database_admin_user=''
  35. live_database_admin_password=''
  36. ### LOCAL STAGE
  37. local_stage_host='localhost'
  38. local_stage_slug='/shopware'
  39. local_stage_database_socket=''
  40. local_stage_database_host='localhost'
  41. local_stage_database_port='3306'
  42. local_stage_database_name='name_stage'
  43. local_stage_database_user='user'
  44. local_stage_database_password='password'
  45. # only needed if you can't create database and want to create a database
  46. local_stage_database_admin_user=''
  47. local_stage_database_admin_password=''
  48. ### LOCAL LIVE
  49. local_live_host='localhost'
  50. local_live_slug='/shopware'
  51. local_live_database_has_socket='n'
  52. local_live_database_socket=''
  53. local_live_database_host='localhost'
  54. local_live_database_port='3306'
  55. local_live_database_name='name_live'
  56. local_live_database_user='user'
  57. local_live_database_password='password'
  58. # only needed if you can't create database and want to create a database
  59. local_live_database_admin_user=''
  60. local_live_database_admin_password=''
  61. ### SHOPWARE
  62. local_shopware_user='user'
  63. local_shopware_email='email'
  64. local_shopware_firstname='Name'
  65. local_shopware_lastname='Lastname'
  66. install_shopware_name="Project"
  67. install_shopware_email="$local_shopware_email"
  68. install_shopware_locale='de_DE'
  69. install_shopware_currency='EUR'
  70. install_shopware_storefront_name="Storefront"
  71. install_shopware_storefront_url='https://localhost/domain.de/www.domain.de'
  72. ### MAILER
  73. local_mailer_url='smtp://localhost:1025'
  74. ### GIT
  75. git_ssh_key_file=''
  76. git_url=''
  77. git_shopware_path=''
  78. # you can update stage with data from live
  79. live_to_stage_live_urls=("https://www.domain.de")
  80. live_to_stage_stage_urls=("https://stage.domain.de")
  81. # if you copy the stage state to local
  82. stage_to_local_stage_urls=("https://stage.domain.de")
  83. stage_to_local_local_urls=("https://localhost/domain.de/stage.domain.de")
  84. # here more complete, copy the live system to local
  85. live_to_local_live_urls=(
  86. "https://www.domain.de"
  87. "http://www.domain.de"
  88. )
  89. live_to_local_local_urls=(
  90. "https://localhost/domain.de/www.domain.de"
  91. "http://localhost/domain.de/www.domain.de"
  92. )
  93. ### GDPR SHOPWARE 6 TABLES
  94. gdpr_tables=(
  95. acl_user_role
  96. cart
  97. customer
  98. customer_address
  99. customer_recovery
  100. customer_tag
  101. customer_wishlist
  102. customer_wishlist_product
  103. elasticsearch_index_task
  104. import_export_log
  105. integration
  106. integration_role
  107. log_entry
  108. message_queue_stats
  109. newsletter_recipient
  110. newsletter_recipient_tag
  111. order
  112. order_address
  113. order_customer
  114. order_delivery
  115. order_delivery_position
  116. order_line_item
  117. order_tag
  118. order_transaction
  119. product_export
  120. product_review
  121. promotion_persona_customer
  122. refresh_token
  123. sales_channel_api_context
  124. state_machine_history
  125. user
  126. user_access_key
  127. user_config
  128. user_recovery
  129. version
  130. version_commit
  131. version_commit_data
  132. klarna_payment_request_log
  133. payone_payment_card
  134. payone_payment_mandate
  135. payone_payment_redirect
  136. unzer_payment_payment_device
  137. unzer_payment_transfer_info
  138. enqeueue
  139. product_keyword_dictionary
  140. product_search_keyword
  141. )
  142. ### Media Files
  143. import_media_files=(
  144. "/files"
  145. "/public/media"
  146. )
  147. ### POST SCRIPT
  148. if [ -f "$app_dir/bin/post_config.sh" ]
  149. then
  150. source "$app_dir/bin/post_config.sh"
  151. fi