uditgaurav / raas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Litmus Portal

Local development

Set up backend environments

  1. Install dependencies Go to the backend folder and install modules defined in go.mod
go mod download
  1. Create database
go run scripts/gqlgen.go init
  1. Install air if you want hot reloading you can use hot reoloading with air.
air

Set up frontend environments

Go to the fronend folder and run the following commands.

npm install
npm run start

Production deployment

First, go to the project root directory and enable bash files

sudo chmod 777 start_k8s.sh
sudo chmod 777 remove_k8s.sh
sudo chmod 777 deploy_production.sh
  1. Deploy
start_k8s.sh
  1. Remove pods/services/deployments
remove_k8s.sh

About


Languages

Language:CSS 83.2%Language:JavaScript 14.4%Language:Go 1.6%Language:Dockerfile 0.4%Language:HTML 0.3%Language:Shell 0.1%