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
examplesdirectory of your choice. - Run
vagrant upfollowed 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
hostmachine.The files are automagically synced to the
guestmachine, which we created by runningvagrant up. Refer to each example'svagrantfileon where the files are actually synced to. -
Build, run and test the code on your
guestmachine.By running
vagrant ssh, you open a session to yourguestmachine. -
Remember to commit and merge your changes often.