docs/Platforms/FOSS/Vagrant.md
mkdir wekan_vagrantcd wekan_vagrantvagrant init -m ubuntu/xenial64Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.provision :shell, path: "bootstrap.sh"
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
end
#!/usr/bin/env bash
sudo apt-get update
sudo snap install wekan
sudo snap set wekan root-url="http://localhost:8080"
sudo systemctl restart snap.wekan.wekan
Type 'vagrant up' to start the VM and wait for it to boot.
Got to your local browser and type in localhost:8080
You can go inside VM with vagrant ssh
Look at Ubuntu snap wiki for additional configuration, backups etc
Once your done testing your Vagrantbox just go back to the cmd line and type vagrant destroy And it completely wipes any trace of the test environment from your system, however you can very very easily rebuild it by doing another vagrant up Note: This will not save any data you may have put into Wekan!!!