The local development platform has an install script for Linux and Mac. Windows users have to install the required cli tools themselves. Get your VPN config from an admin and your kubeconfig from the sproud. Rancher
- nodejs
- git
- skaffold
- helm
- kubectl
- telepresence
- kubeconfig
- sproudVPN
For local development you need to clone this repository (getsproud/local)
and run the following commands. No worries, OS detection is inside the Makefile
make install
make projects
To spin up an development enviroment do folling steps.
- cd into service folder
- run
npm run dev
- open browser at
https://stage.sproud.dev
- start coding π€©
To spin up an development enviroment do folling steps.
-
create new branch [feature/123-foo-bar] in service repo
-
run
make feature PROJECT=foo-bar
in sproud-local
foo-bar must be a project folder withour the sproud- prefix
- open browser at
https://XXX.sproud.dev
replace XXX with number of feature branch
What other commands is the Makefile capable of
setup required cli tools
make install
start feature environment on cluster
make develop PROJECT=foo
setup sproud. all projects/microservices
make projects
setup sproud. single project/microservice
make project PROJECT=foo
setup sproud. utils (docs, toolbelt, ...)
make utils
show sproud. make help
make help