This repository was archived by the owner on Oct 1, 2020. It is now read-only.
File tree 2 files changed +5
-8
lines changed
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 48
48
echo " date.timezone = America/Chicago" >> /etc/php5/cli/php.ini
49
49
50
50
# Configure XDebug to allow remote connections from the host
51
- echo " xdebug.max_nesting_level=200 \
52
- xdebug.remote_enable=1 \
53
- xdebug.remote_connect_back=1" >> /etc/php5/cli/conf.d/20-xdebug.ini
51
+ echo ' xdebug.max_nesting_level=200
52
+ xdebug.remote_enable=1
53
+ xdebug.remote_connect_back=1' >> /etc/php5/cli/conf.d/20-xdebug.ini
54
54
55
55
# Restart Apache
56
56
service apache2 restart
@@ -79,4 +79,4 @@ chmod -R 755 /var/www
79
79
80
80
# Declare path to scripts supplied with vagrant and Magento
81
81
magento_dir=" /var/www/magento2ce"
82
- echo " export PATH=\$ PATH:/vagrant/bin:${magento_dir} /bin" >> /home/vagrant/. profile
82
+ echo " export PATH=\$ PATH:/vagrant/bin:${magento_dir} /bin" >> /etc/ profile
Original file line number Diff line number Diff line change @@ -25,10 +25,7 @@ magento_dir="/var/www/magento2ce"
25
25
cd ${magento_dir}
26
26
27
27
# Clear cache
28
- mv var/.htaccess .var_htaccess.back && rm -rf var/* && mv .var_htaccess.back var/.htaccess
29
- mv pub/static/.htaccess pub/static_htaccess.back && rm -rf pub/static/* && mv pub/static_htaccess.back pub/static/.htaccess
30
- cd " ${magento_dir} /dev/tests/integration" && mv tmp/.gitignore tmp_gitignore.back && rm -rf tmp/* && mv tmp_gitignore.back tmp/.gitignore
31
- cd " ${magento_dir} /dev/tests/unit" && rm -rf tmp/*
28
+ magento_clear_cache
32
29
33
30
# Remove configuration files
34
31
rm -f " ${magento_dir} /app/etc/config.php"
You can’t perform that action at this time.
0 commit comments