This repository contains example projects to help you get started on development!
The examples use vagrant
. It is an automation tool for creating identical
development environments from simple configuration. Use it.
- Browse into the
examples
directory of your choice. - Run
vagrant up
followed byvagrant ssh
.
Now you have a working development environment open in your terminal. You can use this to build, run and test your code. Refer to each individual example on how to run them.
By using vagrant
as described above, you are able to have identical
environments across your team members. This means that the "works on my
machine" - argument is invalid, since all machines are identical.
Essentially the workflow will boil down to the following:
-
Edit code on your
host
machine.The files are automagically synced to the
guest
machine, which we created by runningvagrant up
. Refer to each example'svagrantfile
on where the files are actually synced to. -
Build, run and test the code on your
guest
machine.By running
vagrant ssh
, you open a session to yourguest
machine. -
Remember to commit and merge your changes often.