Setting up Dev Environment
Local Development
Before deploying our code in a production setting, we often use a local VM and/or our laptop for the development. Most Digigov developers choose a linux based distribution (mostly Ubuntu). For a local VM setup, you can use Vagrant to define a development setting that suits your needs and/or your project's needs.
NOTE: In case of Vagrant, you need to have some kind of virtualisation tool installed such as Virtualbox.
Editor
Your code editor is your everyday partner. Choose one that you are familiar with.
Great options include:
Some projects require an editorconfig
file to be used in order to enforce same code style across developers. More information available per project.
Docker
We utilize Docker to run our development and/or production environments. We also use docker-compose to manage our environments.
Kubernetes
Some Digigov applications are deployed to a Kubernetes stack. We use kubectl and helm tools to maintain our applications and develop new ones in the kubernetes ecosystem.
In addition, we use minikube to replicate a kubernetes setup locally.