Skip to content
front-end for litmus community charts
JavaScript HTML CSS Go Other
Branch: staging
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
config
nginx
public
scripts
server
src
.dockerignore
.gitignore
.travis.yml
Dockerfile.client
README.md
devrun.sh
package.json
yarn.lock

README.md

charthub.litmuschaos.io

Front-end for litmus community charts.

Installation

  • 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
    

Usage

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/.

docker

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

You can’t perform that action at this time.