A lightweight SDK for Go web development. Fork me. Preconfigured with:
- Kubernetes (coming soon)
- Docker
- Postgres
- Go
- Adminer
- React
- TypeScript
- Sass
- Mercure (coming soon)
- Command, and event bus (coming soon)
- Models, database migrations, and seeders for User, SecurityToken, Role, and Permission
cd <projects-parent-directory> && git clone https://github.com/pascalallen/baetyl.git
127.0.0.1 local.baetyl.com
cp .env.example .env
bin/up
or (to watch for backend changes)
bin/watch
You will find the site running at http://local.baetyl.com/
bin/yarn ci
bin/yarn dev
bin/yarn watch
bin/down
bin/update-registry Dockerfile ghcr.io/pascalallen/baetyl
kubectl apply -f etc/k8s/deployment.yaml
kubectl apply -f etc/k8s/service.yaml
kubectl get deployments
kubectl get services
kubectl get all
kubectl logs -f baetyl-app
kubectl delete -f etc/k8s/deployment.yaml
kubectl delete -f etc/k8s/service.yaml