Vagrant configuration describing a VM for developing libeopp-based projects.
The VM is based on Ubuntu 18.04 and includes a basic set of build dependencies, including:
By default, two network ports are forwarded into the VM:
- host 8080 → guest 80
- host 8081 → guest 443
To start and get a shell in the VM:
- Check the Vagrantfile and adjust
vb.cpus
andvb.memory
to appropriate values for your system vagrant up
vagrant ssh
Any project sources may now be cloned and built.
Some tasks which may be convenient or useful for a more complete development environment:
- Copy or generate an SSH key in
/home/vagrant/.ssh
- Copy or add k8s contexts to
/home/vagrant/.kube/config
- Install a desktop environment, e.g.
ubuntu-desktop
orxubuntu-desktop
, and IDE- Note: the 'vagrant' user can log in with password
vagrant
- Note: to start the UI with vagrant, uncomment
vb.gui
in the Vagrantfile
- Note: the 'vagrant' user can log in with password
- Add proxy config to microk8s
- Add microk8s addons, such as a Docker registry: see
microk8s.enable --help
- For example:
microk8s.enable dns ingress registry storage
- For example: