Fix Vagrant dev env

- more consistent use of hostname
- use .local hostname instead of .dev . Looks like Firefox is more
  happy with a self-signed certificate on .local than .dev
- add friendica.local to altname in certificate
- run composer install while provisioning
This commit is contained in:
fabrixxm 2018-03-23 16:12:11 +01:00
parent 046046e0c4
commit dd37176a01
2 changed files with 13 additions and 8 deletions

4
Vagrantfile vendored
View file

@ -17,7 +17,7 @@ Vagrant.configure(2) do |config|
# Create a hostname, don't forget to put it to the `hosts` file
# This will point to the server's default virtual host
# TO DO: Make this work with virtualhost along-side xip.io URL
config.vm.hostname = "friendica.dev"
config.vm.hostname = "friendica.local"
# Create a static IP
config.vm.network :private_network, ip: server_ip
@ -36,7 +36,7 @@ Vagrant.configure(2) do |config|
vb.memory = server_memory
end
# Enable provisioning with a shell script.
# Enable provisioning with a shell script.
config.vm.provision "shell", path: "./util/vagrant_provision.sh"
# run: "always"
# run: "once"