@@ -101,11 +101,12 @@ These repositories are automatically mounted into the appropriate docker
101101containers allowing the developer to use their preferred tools to work with the
102102source code.
103103
104- The ` docker compose up ` command on its own will bring up the entire stack in the
105- foreground (logs will be displayed).
104+ The ` docker compose --profile dev up ` command on its own will bring up the
105+ entire stack in the foreground (logs will be displayed).
106106
107- The ` docker compose up ` command will also fetch the official container images
108- from [ MetaCPAN Docker Hub] ( https://cloud.docker.com/u/metacpan/repository/list )
107+ The ` docker compose --profile dev up ` command will also fetch the official
108+ container images from
109+ [ MetaCPAN Docker Hub] ( https://cloud.docker.com/u/metacpan/repository/list )
109110repositories.
110111
111112This will build the Docker containers for MetaCPAN, PostgreSQL and Elasticsearch
@@ -128,7 +129,7 @@ elsewhere.
128129Alternatively, if you just want to hack on the web frontend, you can run this
129130instead of all the above:
130131
131- docker compose up web
132+ docker compose up web-server
132133
133134From here, you can proceed and hack on the MetaCPAN code at ` src/metacpan-api `
134135and/or ` src/metacpan-web ` directories, and saving edits will reload the
@@ -137,7 +138,7 @@ corresponding apps automatically!
137138When done hacking (or, more likely, when you need to rebuild/refresh your Docker
138139environment) you can then run
139140
140- docker compose down
141+ docker compose --profile dev down
141142
142143in another terminal to stop all MetaCPAN services and remove the containers.
143144
0 commit comments