Skip to content

Commit

Permalink
Formatting start-local Makefile command
Browse files Browse the repository at this point in the history
  • Loading branch information
benji-glitsos-ga committed Nov 27, 2024
1 parent d6a1003 commit ff5de30
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,20 @@ rebuild-local:
docker build --no-cache -t dea-knowledge-hub .

start-local:
docker run -it --rm --name dea-knowledge-hub --publish 8062:8062 --volume ./docs/notebooks:/usr/src/app/docs/notebooks --volume ./output:/usr/src/app/output --env-file .env dea-knowledge-hub \
| grep --invert-match --regexp "WARNING.*Document headings start at" \
| grep --invert-match --regexp "WARNING.*duplicate label" \
| grep --invert-match --regexp "^copying images..." \
| grep --invert-match --regexp ".*GET /_static.*" \
| grep --invert-match --regexp ".*GET /_files.*" \
| grep --invert-match --regexp ".*GET /_images.*"
docker run \
-it --rm \
--name dea-knowledge-hub \
--publish 8062:8062 \
--volume ./docs/notebooks:/usr/src/app/docs/notebooks \
--volume ./output:/usr/src/app/output \
--env-file .env \
dea-knowledge-hub \
| grep --invert-match --regexp "WARNING.*Document headings start at" \
| grep --invert-match --regexp "WARNING.*duplicate label" \
| grep --invert-match --regexp "^copying images..." \
| grep --invert-match --regexp ".*GET /_static.*" \
| grep --invert-match --regexp ".*GET /_files.*" \
| grep --invert-match --regexp ".*GET /_images.*"

build:
sphinx-build -b dirhtml -j auto -a ./docs ./output
Expand Down

0 comments on commit ff5de30

Please sign in to comment.