diff --git a/README.md b/README.md index 3232b22..fc11d16 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ +# Dependencies + +On top of installing vagrant, you probably will need to install the following packages as well: +```bash +$ sudo apt-get install nfs-common nfs-kernel-server +``` + + # Description This configuration includes following software: diff --git a/Vagrantfile b/Vagrantfile index 8fe7588..45131c5 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -6,6 +6,7 @@ VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.define :sylius do |sylius_config| sylius_config.vm.box = "debian/jessie64" + sylius_config.vm.box_url = "https://app.vagrantup.com/debian/boxes/jessie64" sylius_config.vm.provider "virtualbox" do |v| v.gui = false @@ -21,4 +22,4 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| sylius_config.vm.provision :shell, privileged: false, path: "shell_provisioner/sylius/create.sh" sylius_config.vm.provision :shell, privileged: false, path: "shell_provisioner/sylius/install.sh" end -end \ No newline at end of file +end diff --git a/shell_provisioner/sylius/install.sh b/shell_provisioner/sylius/install.sh index a853a08..c7ffdc8 100644 --- a/shell_provisioner/sylius/install.sh +++ b/shell_provisioner/sylius/install.sh @@ -2,7 +2,7 @@ cd /var/www/sites/sylius -sed -i "s/database_password: null/database_password: vagrant/g" app/config/parameters.yml +sed -i "s/database_password: '%env(SYLIUS_DATABASE_PASSWORD)%'/database_password: vagrant/g" app/config/parameters.yml php bin/console sylius:install --no-interaction php bin/console sylius:fixtures:load