Skip to content

Tracking-SYS/tracking-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TRACKING SYSTEM

Quality gate

Bugs Code Smells Lines of Code

Installation

  1. Set GOPRIVATE environment to download private package
export GOPRIVATE=github.com/Tracking-SYS
  1. Compile & build execute binary file
make default
  1. Up server
make run
  1. Install migrate command
curl -L https://github.com/golang-migrate/migrate/releases/download/v4.14.1/migrate.darwin-amd64.tar.gz | tar xvz
mv migrate.darwin-amd64 migrate
  1. Set environment variables
export MYSQL_ADDR=root:123@tcp(localhost:3306)/tracking
  1. Run migration with version 1
./migrate.sh up

Tips

Downgrade Go modules

go get -u github.com/apache/thrift@v0.13.0
go mod tidy
go clean -modcache
go mod vendor

Kafka Setup

  1. Edit configuration of kafka advertise listener to public interface (public IP of VM)
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://broker:29092,PLAINTEXT_HOST://[public IP]:9092

Locust

API Documentation

Contributor Covenant

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •