1.7 KiB
Vagrant and YunoHost
Here is a small memo-documentation page on how to test/develop YunoHost with Vagrant.
Find other ways to install YunoHost here.
Prerequisite: an x86 computer with VirtualBox installed and enough RAM capacity to be able to run a small virtual machine.
Initialization
Create a project folder
mkdir YunoHost
cd YunoHost
The following command will initialize the project with a Yunohost image based on Debian Jeesie
vagrant init yunohost/stable8
/!\ You must have a working image call `yunohost/stable8`. If not, just do `vagrant box add yunohost/stable8 https://atlas.hashicorp.com/yunohost/boxes/stable8/versions/1.0.0/providers/virtualbox.box`
Run a vm
Start the virtual machine
vagrant up
Connect to the started virtual machine
vagrant ssh
Upgrade the system
sudo apt-get update && sudo apt-get upgrade
You can access to your vm with the ip 192.168.33.80
*Once the installation is finished, you may want to proceed to post-installation: yunohost.org/postinstall *
Boxes with wheezy or testing/unstable repository
If you need a vm to test something with wheezy or testing/unstable version of Yunohost. There is a Vagrantfile and 5 other boxes in preparation. For the moment, you can build the boxes by following instructions on these repo: https://github.com/zamentur/yunohost-vagrant
Box | IP |
---|---|
stable8 | 192.168.33.80 |
testing8 | 192.168.33.81 |
unstable8 | 192.168.33.82 |
stable7 | 192.168.33.70 |
testing7 | 192.168.33.71 |
unstable7 | 192.168.33.72 |