Closed mofodox closed 3 years ago
Hi,
Check if you have the Docker App installed and running.
Hi @koddr,
Yes the Docker is running on my machine when I tried to run the backend server running ‘make docker.run’ command
But that's what the error says:
error: dial tcp: lookup cgapp-postgres on 192.168.1.254:53: no such host
Migration cannot be done to a disabled Docker container with a database 🤷
Please try to run this command separately:
docker network create -d bridge dev-network
docker run --rm -d \
--name cgapp-postgres \
--network dev-network \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=password \
-e POSTGRES_DB=postgres \
-v ${HOME}/dev-postgres/data/:/var/lib/postgresql/data \
-p 5432:5432 \
postgres
👋 Hello. Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
⚡️ This issue has been automatically closed because it has not had recent activity.
Required check list:
My environment:
Darwin mofodoxs-MacBook-Pro-13.local 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64
):go version go1.17.2 darwin/amd64
):cgapp version 3.1.1
):Describe the bug:
How do I run the backend application. I've followed the instructions from the README.md in the backend folder but I kept getting this error:
Steps to reproduce the behavior:
cgapp create
commandmake docker.run
Thank you!