Skip to content

Cryptocurrency Exchange & Crypto Payment Processor, powered by zk-STARK

Notifications You must be signed in to change notification settings

visoftsolutions/ksox

Repository files navigation

Run database

docker compose up --build postgres

Run app

docker compose up --build

Prune Docker

docker system prune -a

run code in minikube

make sure you have minikube, docker and skaffold installed make sure you are in a docker group

minikube start --driver=docker --cpus 16 --memory 8192 --addons ingress

To deploy application to minikube do

kubectl config use-context minikube
skaffold run

you can now connect with your browser to ingress, ask minikube for ip

minikube ip

Inject routes to /etc/hosts for dns resolution

./minikube-inject-hosts.sh

To remove application from minikube do

kubectl config use-context minikube
skaffold delete

run code in production

To deploy application to production do

kubectl config use-context visoft-prod
skaffold -d registry.internal.visoft.solutions run

To remove application from production do

kubectl config use-context visoft-prod
skaffold -d registry.internal.visoft.solutions delete