Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.68 KB

CONTRIBUTING.md

File metadata and controls

44 lines (31 loc) · 1.68 KB

Contributing to SLO-Tracker

How to Contribute

  • If you'd like to contribute, start by searching through the issues and pull requests to see whether someone else has raised a similar idea or question.
  • If you don't see your idea listed, Please raise an issue or open a pull request.
  • If you wish to work on an issue reported by other users, Please claim it by commenting on the Github So we can avoid multiple contributors from working on the same issue.
  • New contributors can pick up issues marked as good first issue.

Commit messages

Conventional Commits format is required for all commits.

Vendoring dependencies

Go modules are used for managing dependecies. After adding new or removing exitsting depenencies please run

go mod tidy

to update go.mod and go.sum files.

Javascript & CSS assets

UI is written using React, follow user guide for create-react-app to make changes to the UI code.

Running

docker-compose up --build -d      

admin:admin is the default creds for UI, Which can be changed in docker-compose file.

Steps to compile from source

  • Install go(1.16+), mysql-server, npm and yarn
  • Start MySQL server (Default password should be set to SecretPassword, or export datasource env variable)
  • Start both FE and BE
go run main.go   
cd ui && yarn install && yarn start