Skip to content

Commit 6e5b3e2

Browse files
authored
update readme (#1586)
Fix clone link Add info for docker db with local dev
1 parent 91ddb22 commit 6e5b3e2

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Let's get your machine setup to start up the application!
1414
### Clone the codebase
1515

1616
```sh
17-
git clone [email protected]:rubyforgood/pet-rescue.git
17+
git clone [email protected]:rubyforgood/homeward-tails.git
1818
```
1919

2020
### Docker
@@ -33,6 +33,26 @@ If you need to run migrations at all: `docker-compose run --rm app bin/rails db:
3333

3434
Visit `localhost:3000` in your browser.
3535

36+
#### Docker Database
37+
38+
This application can be run locally while using a docker database. Review the docker compose file. You will need to start three databases:
39+
40+
```sh
41+
docker compose up -d postgres
42+
docker compose up -d cable
43+
docker compose up -d queue
44+
```
45+
46+
You may need to set the correct ports - review the environment variable instructions.
47+
48+
Example:
49+
50+
```sh
51+
DATABASE_PORT: "54320"
52+
CABLE_PORT: "54321"
53+
QUEUE_PORT: "54322"
54+
```
55+
3656
#### Debugging in Docker
3757

3858
You need to attach to an interactive shell on the app service `docker attach pet-rescue-app-1`

0 commit comments

Comments
 (0)