A vagrant box for GrETEL, including the Upload functionality.
Run vagrant up
To finish the installation and make gretel work do the following:
- Go to
localhost:8080/gretel-uploadin your browser - Upload a corpus with a guest account
- Go to
localhost:8080/gretelGretel works now
Both gretel and gretel_upload are cloned to vagrant_data and you can start working on it.
Make sure that all users have full access (777) to the content of vagrant data. This is necessary because of a quirk with the shared directories.
Vagrant is used to create a virtual machine in a repeatable manner. This Vagrant file does the following interesting things:
- It creates a
ubuntu/bionic64box. - It links the
localhost:8080to port80on the guest machine. - It runs a bunch of scripts that install packages and copies config files.
- In particular
install_mysql.shis interesting because it makes use of a preseed:/vagrant/vagrant_data/scripts/mysql-server.preseed.
- In particular
See VagrantFile for a more detailed explanation.
See vagrant_data/scripts for the scripts that are used.
See vagrant_data/config for the config files that are used.