Next: Docker, Previous: Vagrant, Up: Testing and Developing Trip [Contents][Index]
This option provides a working example of the application running in a virtual machine (VM) for those operating systems supported by Lima..
$ cd ~/projects $ git clone git://www.fdsd.co.uk/trip-server-2.git
$ cd ~/projects/trip-server-2 $ limactl create trip-server.yaml
On the first occasion of running Lima, it will download a Debian image and create the initial environment setup.
$ limactl start trip-server
Lima will start the VM and run the scripts to build the application and it’s dependencies. This is likely to take some ten minutes or longer.
$ limactl stop trip-server
Lima shares (as read-only) the source folder in the VM at
~/trip-server-2. It creates a build directory at ~/build
and builds the application running configure command in that
folder. This gives you a working development environment.
See Vagrant) for further information, e.g. configuring time zone and locale settings, as Lima and Vagrant have a lot of similarities.