- v1 - Casebox v1 installation script (Vagrant, Ansible, LAMP5).
- v2 - Casebox v2 installation script (Vagrant, Ansible, LEMP7).
Download and install:
- VirtualBox (https://www.virtualbox.org/)
- Vagrant (https://www.vagrantup.com/)
- Git (https://git-scm.com/)
Clone Casebox v1|v2 ansible installation script (https://github.com/KETSE/casebox-vagrant.git)
Open your favorite command prompt (ex. Git Bash on Windows, Terminal on MacOS and Ubuntu)
Navigate to /path/to/casebox
directory.
Run vagrant (virtualbox) machine: vagrant up
In order to login into vagrant (virtualbox) machine run vagrant ssh
command.
Also you can login via ssh connection ssh [email protected]
.
Vagrant credentials (user/password): vagrant / vagrant
Vagrant box host/ip: 192.168.33.3.xip.io / 192.168.33.3
Casebox Admin UI: http://192.168.33.3:8000/
Solr admin interface: http://192.168.33.3:8983/solr/#/
In order to create Casebox cores (environments), read the documentation
In order to fetch credentials about mysql root password or casebox default password, login to vagrant box using 'vagrant ssh' command.
After that use 'cat' command to list the following files with credentials:
- MySQL
root
password in file:/root/.mysql.root.password
- MySQL
<core name>
password in file:/home/vagrant/.mysql.<core name>.password
- Casebox default
root
user password:a
Run vagrant (virtualbox) machine: vagrant up
Stop vagrant (virtualbox) machine: vagrant halt
Update vagrant (virtualbox) machine: vagrant reload --provision
Run vagrant (virtualbox) machine: vagrant up
Open Casebox Admin UI http://192.168.33.3:8000/admin/share and share Casebox files.
Mount Casebox sources from VirtualBox into your host machine //192.168.33.3/casebox
(for Windows: \\192.168.33.3\casebox
) via SAMBA.
SAMBA vagrant
user password: vagrant
Now you will be able to edit Casebox files from your favorite IDE.
-- TBD