Lines Matching +full:dokuwiki +full:- +full:env
1 # -*- mode: ruby -*-
5 # ----------------------------------------------------------------------
6 # Where to put DokuWiki - if you change this, search the _vagrant
19 # ----------------------------------------------------------------------
20 # This is a very BASh-like use of variables - there's probably a better
30 # ----------------------------------------------------------------------
34 config.vm.box = "bento/ubuntu-20.04"
38 vb.name = "#{dw_plugin}-web"
52 # Thanks to http://foo-o-rama.com/vagrant--stdin-is-not-a-tty--fix.html
53 config.vm.provision "fix-no-tty", type: "shell" do |shell|
55 shell.inline = "sudo sed -i '/tty/!s/mesg n/tty -s \\&\\& mesg n/' /root/.profile"
59 config.vm.provision "web-server", type: "shell" do |shell|
63 # Provisioning DokuWiki
64 config.vm.provision "dokuwiki", type: "shell" do |shell|
66 shell.env = {
67 "DW_DOWNLOAD" => "https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz",
68 "DW_PACKAGE" => "dokuwiki-stable.tgz",
77 shell.env = {
83 shell.path = "configure_dw-#{dw_plugin}.sh"
84 shell.env = {
90 config.vm.post_up_message = "DokuWiki should be available at:
98 # # Clean up from outside the VM on non-Windows hosts
100 # info "Cleaning up DokuWiki installation, but preserving #{dw_plugin}..."
105 # info "virtual machine or remove the DokuWiki files around the plugin manually."