Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uditgaurav/raas
https://github.com/uditgaurav/raas
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/uditgaurav/raas
- Owner: uditgaurav
- Created: 2020-05-31T22:01:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T10:33:00.000Z (almost 2 years ago)
- Last Synced: 2023-03-05T02:39:39.185Z (over 1 year ago)
- Language: CSS
- Size: 6.55 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Litmus Portal
## Local development
## Set up backend environments1) Install dependencies
Go to the backend folder and install modules defined in go.mod
```bash
go mod download
```2) Create database
```bash
go run scripts/gqlgen.go init
```3) Install air if you want hot reloading
you can use hot reoloading with [air](https://github.com/cosmtrek/air).
```bash
air
```## Set up frontend environments
Go to the fronend folder and run the following commands.
```bash
npm install
npm run start
```## Production deployment
First, go to the project root directory and enable bash files
```bash
sudo chmod 777 start_k8s.sh
sudo chmod 777 remove_k8s.sh
sudo chmod 777 deploy_production.sh
```1) Deploy
```bash
start_k8s.sh
```2) Remove pods/services/deployments
```bash
remove_k8s.sh
```