- Install vagrant
- Install ansible
- create an ilias-vagrant folder
- Universität Bern only: "sudo git clone --recursive [email protected]:vagrant/ilias-vagrant.git /folder"
- External only: checkout vagrant non recursvie: "sudo git clone [email protected]:vagrant/ilias-vagrant.git /folder"
- External only: checkout your own custom ilias repo into the www folder.
- make the folder your own with "chown -R you:staff ilias-vagrant"
- add repo to sourcetree and checkout all the correct branches of submodules
- adjust port forwarding in Vagrant.file
- disable/enable correct DB
- select the modules to be installed in the playbook
- run 'vagrant up' inside ilias-vagrant
- check localhost:8081 to see if ilias install has been successful 3 Optional: Check localhost:9704 to check mail sent from the server
- if importDB is set to false in the playbook install DB through setup/setup.php
- if importDB is set to true in the playbook no further installation steps are needed -> DO NOT FORGET TO SET THE importDB to false aftwerwards. (otherwise your db will be reset with the next vagrant provision command).
- reload ansible changes with 'vagrant provision'
- access via ssh with vagrant ssh
- destroy with 'vagrant destroy'
By: Timon Amstutz und Tomasz Kolonko