]> git.mxchange.org Git - friendica.git/blobdiff - bin/dev/vagrant_provision.sh
Code standards
[friendica.git] / bin / dev / vagrant_provision.sh
index fc3e266f2e802eea483e0cd9d98fe08deef6218c..7ebbdcafd4f508c1ad75aca72654fbc862d9796f 100755 (executable)
@@ -86,7 +86,10 @@ cd /var/www
 php bin/composer.phar install
 
 # initial config file for friendica in vagrant
-cp /vagrant/util/htconfig.vagrant.php /vagrant/.htconfig.php
+cp /vagrant/mods/local.config.vagrant.php /vagrant/config/local.config.php
+
+# copy the .htaccess-dist file to .htaccess so that rewrite rules work
+cp /vagrant/.htaccess-dist /vagrant/.htaccess
 
 # create the friendica database
 echo "create database friendica DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci" | $MYSQL -u root -proot