Skip to content

Commit

Permalink
Fix some issues (Sylius#20, Sylius#22) until pull requests are merged
Browse files Browse the repository at this point in the history
  • Loading branch information
QuenanChever committed Apr 25, 2018
1 parent 017f180 commit 949399a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
3 changes: 2 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
end
2 changes: 1 addition & 1 deletion shell_provisioner/sylius/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 949399a

Please sign in to comment.