h1. What After the database be added the steps to run the app locally without docker are no longer working since it is missing the steps required to have the database which is required to start the server. * This task is for adding the steps required add a step to run it locally with up just the Postgres installed instead of database with docker .* h1. Why
{code:java} $ go run cmd/mobile docker - security compose up - service/main.go d db time="2019-02-20T16:29:01Z" level=info msg="No .env file found, using default values instead." {code} panic: failed * add the step how to connect to SQL database: dial tcp [::1]:5432: connect: connection refused call the rest endpoints and test them
goroutine 1 [running]: main h1 . connectDatabase(0xc000242b18, 0x5, 0x14da458, 0x4, 0x14da6c0, 0x4, 0xc0001d54b0, 0x1, 0x1, 0x0, ...) Why /Users/camilamacedo/go/src/github.com/aerogear/mobile-security-service/cmd/mobile-security-service/main.go:81 +0x1a6 main Make easier contribute with . main() /Users/camilamacedo/go/src/github.com/aerogear/mobile-security-service/cmd/mobile-security-service/main.go:47 +0xd5 exit status 2 {code}
|
|