Front-end for litmus community charts.
- Install Golang. Follow the instructions here.
- Install Node.js and npm. Follow the instructions here.
- Install Yarn. Follow the instructions here.
- Install npm packages.
yarn install
- Install Go server dependencies.
go get github.com/gorilla/mux go get gopkg.in/yaml.v3
Navigate into server
folder and run go run *.go
. This will start the backend framework.
Now, navigate back to the root folder in a separate terminal and run yarn start
to run development server;
to create production build, run yarn build
. This conjoined process starts up the charthub on your localhost.
Open your browser and go to http://localhost:3000/
.
Install docker compose Instructions here!
Run the containers using docker-compose
docker-compose up
Go to your browser and open: http://localhost
You can also run server and client seperately using the commands
docker-compose up server
and
docker-compose up client