Skip to content

About

All in one server of project `gommerce`.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

129 Commits

Folders and files

Repository files navigation

Gommerce Server AIO

All in one server of project gommerce.

# schema
atlas schema inspect -u $DATA_SOURCE_URL > data/schema/schema.pg.hcl
atlas schema apply -u $DATA_SOURCE_URL --to "file://data/schema"

# seed
go run ./cmd/dbseed/

# config
cp ../gommerce-server-core/config/example.yaml ./config/app-local.yaml

# jwt
openssl genrsa 2048 | tee >(openssl rsa -pubout 2>/dev/null)

# build
CGO_ENABLED=0 go build -ldflags="-s -w" -o ./bin/server ./cmd/server

# run
GOMMERCE_CONFIG_PATH=./config/app-local.yaml go run ./cmd/server

# test
go test ./... -v -cover

About

All in one server of project `gommerce`.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ 换网址