- Create database with the same name wrote in GO_DDD_SKELETON_SQL_DB_NAME environment variable.
- Change the connection parameters needed to connect to the database.
- Execute dump.sql to insert test data.
- Initialize environment variables. See env folder
- Execute next command:
$ go run policy/cmd/policy-api/*.go
or
- Create database with the same name wrote in GO_DDD_SKELETON_SQL_DB_NAME environment variable.
- Change the connection parameters needed to connect to the database.
- Execute dump.sql to insert test data.
- Execute next commands:
$ docker network create golang // same network as the infrastructure
$ docker-compose up