File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff 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
3434Visit ` 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
3858You need to attach to an interactive shell on the app service ` docker attach pet-rescue-app-1 `
You can’t perform that action at this time.
0 commit comments