mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 18:44:26 +02:00
Update vagrant devbox provisioning
- run provisioning script as root - don't load friendica_test_data.sql which is outdated - install friendica and create users via console commands - install cronjob in `/etc/cron.d/friendica` and run as `www-data` user - force to have "vagrant-vbguest" insstalled. We need updated vbguest addins to correctly mount local folder - add "config.hostname" and "system.ssl_policy" values in `local.config.vagrant.php`
This commit is contained in:
parent
6ef9ccbb97
commit
dd1835d15d
3 changed files with 75 additions and 40 deletions
6
Vagrantfile
vendored
6
Vagrantfile
vendored
|
@ -34,10 +34,14 @@ Vagrant.configure(2) do |config|
|
|||
#
|
||||
# # Customize the amount of memory on the VM:
|
||||
vb.memory = server_memory
|
||||
|
||||
unless Vagrant.has_plugin?("vagrant-vbguest")
|
||||
raise 'vagrant-vbguest plugin is not installed! Install with "vagrant plugin install vagrant-vbguest"'
|
||||
end
|
||||
end
|
||||
|
||||
# Enable provisioning with a shell script.
|
||||
config.vm.provision "shell", path: "./bin/dev/vagrant_provision.sh"
|
||||
config.vm.provision "shell", path: "./bin/dev/vagrant_provision.sh", privileged: true
|
||||
# run: "always"
|
||||
# run: "once"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue