/casebox-vagrant

Casebox Vagrant

Primary LanguageShellGNU Affero General Public License v3.0AGPL-3.0

Casebox2

Branches

  • v1 - Casebox v1 installation script (Vagrant, Ansible, LAMP5).
  • v2 - Casebox v2 installation script (Vagrant, Ansible, LEMP7).

Installation

Download and install:

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

Vagrant (virtualbox) ssh access

In order to login into vagrant (virtualbox) machine run vagrant ssh command.

Also you can login via ssh connection ssh vagrant@192.168.33.3.

Vagrant credentials (user/password): vagrant / vagrant

Vagrant box host/ip: 192.168.33.3.xip.io / 192.168.33.3

Links

Casebox Admin UI: http://192.168.33.3:8000/

Solr admin interface: http://192.168.33.3:8983/solr/#/

Admin UI

In order to create Casebox cores (environments), read the documentation

Credentials

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

Vagrant utils

Run vagrant (virtualbox) machine: vagrant up

Stop vagrant (virtualbox) machine: vagrant halt

Update vagrant (virtualbox) machine: vagrant reload --provision

For developers

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.

Issues

-- TBD