Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 776 Bytes

File metadata and controls

72 lines (50 loc) · 776 Bytes

Scripts

Install dependencies:

go mod download
cd e2e && npm install

Upkeep dependencies:

go mod tidy

Run project:

go run ./src/application.go

Run tests:

watchman-make -p 'src/**/*.go' --make=go -t test ./...

Run E2E tests:

cd e2e && npx cypress open

View test coverage:

go test ./... -coverprofile=coverage.out
go tool cover -html=coverage.out

Format project:

go fmt ./src && npx prettier --write .

Build and run binary:

go build -o ./bin/httphq ./src
./bin/httphq

Build and run container:

docker build . -t httphq
docker run -dp 8080:8080 httphq
docker container ls -s

Deploy to Fly:

fly deploy

View Fly logs:

fly logs