Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Add docker-compose for dev environment #1575

Merged
merged 1 commit into from Aug 7, 2018
Merged

Conversation

chrisbull
Copy link
Contributor

Init dev environment quicker with docker-compose, by just cloning the repo and then running yarn docker:up

Instead of having to do a prisma init {APP_NAME}, go through the setup, then copy the PRISMA_ENDPOINT, past the endpoint, then remove the new directory.

Docker compose instantly spins up the prisma server and postgres database, and then surfaces the localhost:4466 endpoint.

Everything else including yarn deploy:db works exactly the same. But now you are running locally on machine, instead of a remote prisma server.

@steida
Copy link
Contributor

steida commented Aug 7, 2018

Wow. Thank you!

@steida steida merged commit 9612c1b into este:master Aug 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants