-
Notifications
You must be signed in to change notification settings - Fork 0
/
Customfile
185 lines (164 loc) · 7.64 KB
/
Customfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
# Set up a private Network when using NFS shares.
# See: https://www.vagrantup.com/docs/networking/private_network.html
#config.vm.network :private_network, id: "vvv_primary", ip: "192.168.50.4"
# can also use:
# , type: "dhcp:"
# More on NFS Vagrant/VirtualBox shares, see:
# https://www.vagrantup.com/docs/synced-folders/nfs.html
# More on Fedora NFS shares, see:
# https://developer.fedoraproject.org/tools/vagrant/vagrant-nfs.html
# However, UDP may be required by Vagrant && VVV
# See: https://robertbasic.com/blog/enable-udp-for-nfs-on-fedora/
# =============================
# SKYVERGE COMMERCIAL PLUGINS
# =============================
sv_wc_plugins = [
'woocommerce-address-validation',
'woocommerce-admin-custom-order-fields',
'woocommerce-authorize-net-reporting',
'woocommerce-avatax',
'woocommerce-cart-notices',
'woocommerce-checkout-add-ons',
'woocommerce-constant-contact',
'woocommerce-cost-of-goods',
'woocommerce-customer-order-csv-export',
'woocommerce-customer-order-csv-import',
'woocommerce-customer-order-xml-export-suite',
'woocommerce-freshbooks',
'woocommerce-gateway-authorize-net-aim',
'woocommerce-gateway-authorize-net-cim',
'woocommerce-gateway-authorize-net-sim',
'woocommerce-gateway-beanstream',
'woocommerce-gateway-chase-paymentech',
'woocommerce-gateway-checkout-fi',
'woocommerce-gateway-cybersource',
'woocommerce-gateway-cybersource-sop',
'woocommerce-gateway-elavon',
'woocommerce-gateway-firstdata',
'woocommerce-gateway-intuit-qbms',
'woocommerce-gateway-mollie',
'woocommerce-gateway-moneris',
'woocommerce-gateway-ogone',
'woocommerce-gateway-paytrail',
'woocommerce-gateway-realex',
'woocommerce-gateway-realex-redirect',
'woocommerce-gateway-usa-epay',
'woocommerce-google-analytics-pro',
'woocommerce-kiss-metrics',
'woocommerce-measurement-price-calculator',
'woocommerce-mixpanel',
'woocommerce-nested-category-layout',
'woocommerce-order-status-control',
'woocommerce-order-status-manager',
'woocommerce-pdf-product-vouchers',
'woocommerce-pip',
'woocommerce-product-documents',
'woocommerce-product-retailers',
'woocommerce-product-reviews-pro',
'woocommerce-sequential-order-numbers-pro',
'woocommerce-shipping-local-pickup-plus',
'woocommerce-shipwire',
'woocommerce-social-login',
'woocommerce-stamps-com',
'woocommerce-tab-manager',
'woocommerce-twilio-sms-notifications',
'woocommerce-url-coupons'
]
sv_wc_plugins.each do |plugin_name|
plugin_path = File.join('/projects/wp/skyverge/wc-plugins/', plugin_name)
dest_path = File.join('/srv/www/skyverge/public_html/wp-content/plugins/', plugin_name)
config.vm.synced_folder plugin_path, dest_path, type: "nfs", :mount_options => ['nolock,vers=3,udp,noatime']
end
# ====================================
# WOOCOMMERCE.COM COMMERCIAL PLUGINS
# ====================================
wt_plugins = [
'sensei', # Sensei team
'woocommerce', # Synced fork
'woocommerce-accommodation-bookings', # WooCommerce
'woocommerce-additional-fees', # WooCommerce
'woocommerce-advanced-shipping-packages', # Jeroen Sormani
'woocommerce-bookings', # WooCommerce
'woocommerce-chained-products', # WooCommerce
'woocommerce-checkout-field-editor', # WooCommerce
'woocommerce-composite-products', # Manos
'woocommerce-deposits', # WooCommerce
'woocommerce-dynamic-pricing', # Lucas Stark
'woocommerce-follow-up-emails', # WooCommerce
'woocommerce-gateway-stripe', # WooCommerce
'woocommerce-give-products', # WooCommerce
'woocommerce-gravityforms-product-addons', # Lucas Stark
'woocommerce-name-your-price', # WooCommerce
'woocommerce-one-page-checkout', # Prospress
'woocommerce-order-delivery', # Prospress
'woocommerce-pre-orders', # WooCommerce
'woocommerce-product-addons', # WooCommerce
'woocommerce-product-bundles', # Manos
'woocommerce-product-feeds', # Lee Willis
'woocommerce-product-vendors', # WooCommerce
'woocommerce-quick-view', # WooCommerce
'woocommerce-subscriptions', # Prospress
'woocommerce-table-rate-shipping', # WooCommerce
'woocommerce-eu-vat-number' # WooCommerce
]
wt_plugins.each do |plugin_name|
plugin_path = File.join('/projects/wp/woothemes/', plugin_name)
dest_path = File.join('/srv/www/skyverge/public_html/wp-content/plugins/', plugin_name)
config.vm.synced_folder plugin_path, dest_path, type: "nfs"
end
# WooCommerce Subscriptions Gifting (Prospress)
config.vm.synced_folder "/projects/wp/prospress/woocommerce-subscriptions-gifting", "/srv/www/skyverge/public_html/wp-content/plugins/woocommerce-subscriptions-gifting", type: "nfs"
# =======================
# SKYVERGE FREE PLUGINS
# =======================
sv_free_wc_plugins = [
'woocommerce-custom-product-tabs-lite',
'woocommerce-customizer',
'woocommerce-dev-helper',
'woocommerce-extra-product-sorting-options',
'woocommerce-product-sku-generator',
'woocommerce-sequential-order-numbers'
]
sv_free_wc_plugins.each do |plugin_name|
plugin_path = File.join('/projects/wp/skyverge/', plugin_name)
dest_path = File.join('/srv/www/skyverge/public_html/wp-content/plugins/', plugin_name)
config.vm.synced_folder plugin_path, dest_path, type: "nfs"
end
# Jilt for EDD
config.vm.synced_folder "/projects/wp/skyverge/jilt-for-edd/src", "/srv/www/skyverge/public_html/wp-content/plugins/jilt-for-edd", type: "nfs"
# Jilt for WooCommerce
config.vm.synced_folder "/projects/wp/skyverge/jilt-for-woocommerce/src", "/srv/www/skyverge/public_html/wp-content/plugins/jilt-for-woocommerce", type: "nfs"
# ShopFront (StoreFront child theme)
config.vm.synced_folder "/projects/wp/skyverge/shopfront", "/srv/www/skyverge/public_html/wp-content/themes/shopfront", type: "nfs"
# ======================
# SKYVERGE MEMBERSHIPS
# ======================
# Memberships
config.vm.synced_folder "/projects/wp/skyverge/woocommerce-memberships", "/srv/www/skyverge/public_html/wp-content/plugins/woocommerce-memberships", type: "nfs"
memberships_addons =[
'woocommerce-memberships-directory-shortcode',
'woocommerce-memberships-for-teams',
'woocommerce-memberships-mailchimp',
'woocommerce-memberships-role-handler',
'woocommerce-memberships-sensei-member-area'
]
memberships_addons.each do |plugin_name|
source_path = File.join(plugin_name, '/plugin')
plugin_path = File.join('/projects/wp/skyverge/woocommerce-memberships-addons/', source_path)
dest_path = File.join('/srv/www/skyverge/public_html/wp-content/plugins/', plugin_name)
config.vm.synced_folder plugin_path, dest_path, type: "nfs"
end
# ==============================
# SKYVERGE MEMBERSHIPS TESTING
# ==============================
# WooCommerce Memberships
config.vm.synced_folder "/projects/wp/skyverge/woocommerce-memberships", "/srv/www/memberships/public_html/wp-content/plugins/woocommerce-memberships", type: "nfs"
# WooCommerce Subscriptions
config.vm.synced_folder "/projects/wp/woothemes/woocommerce-memberships", "/srv/www/skyverge/public_html/wp-#content/plugins/woocommerce-subscriptions", type: "nfs"
# WooCommerce Memberships Add ons
memberships_addons.each do |plugin_name|
source_path = File.join(plugin_name, '/plugin')
plugin_path = File.join('/projects/wp/skyverge/woocommerce-memberships-addons/', plugin_name)
dest_path = File.join('/srv/www/memberships/public_html/wp-content/plugins/', plugin_name)
config.vm.synced_folder plugin_path, dest_path, type: "nfs"
end