Simplify installation scripts and update dev.md with instructions of how to use them
diff --git a/dev/create_dev_cluster.sh b/dev/create_dev_cluster.sh
index e6b01e1..54e66af 100755
--- a/dev/create_dev_cluster.sh
+++ b/dev/create_dev_cluster.sh
@@ -1,6 +1,7 @@
#!/bin/bash
-ROOT="$(dirname -- $(pwd))"
+ROOT=$(pwd)
+ROOT=${ROOT%/pcloud*}/pcloud
k3d cluster create pcloud-dev \
--servers=1 \
@@ -12,8 +13,7 @@
# Traefik
helm repo add traefik https://containous.github.io/traefik-helm-chart
helm repo update
-kubectl create namespace traefik
-helm --namespace=traefik install traefik traefik/traefik \
+helm --namespace=traefik install --create-namespace traefik traefik/traefik \
--set additionalArguments="{--providers.kubernetesingress,--global.checknewversion=true}" \
--set ports.traefik.expose=True
diff --git a/dev/install_core_services.sh b/dev/install_core_services.sh
index 0a7601f..1ab542a 100755
--- a/dev/install_core_services.sh
+++ b/dev/install_core_services.sh
@@ -1,6 +1,7 @@
#!/bin/sh
-ROOT="$(dirname -- $(pwd))"
+ROOT=$(pwd)
+ROOT=${ROOT%/pcloud*}/pcloud
# Dgraph
source $ROOT/apps/dgraph/install.sh