Skip to content

Commit

Permalink
Replace docker-compose with "docker compose"
Browse files Browse the repository at this point in the history
  • Loading branch information
bensteinberg committed Aug 26, 2024
1 parent 3d55be6 commit 40e7715
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Info
run: |
docker-compose --version
docker compose --version
docker version
npm --version
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Install and Run

3. `cd website-static`

4. Fire up the web server and build the site: `docker-compose up`
4. Fire up the web server and build the site: `docker compose up`

5. Check out what you built:
- Docker: head to http://localhost:8080/
Expand All @@ -32,10 +32,10 @@ Install and Run

Errors: if the build errors out (scss syntax errors, incorrect variable names, etc.), the automatic rebuilding process may stop working.

To manually rebuild the site/restart the automatic rebuilding process, press `control + c` and then run `docker-compose up` again.
To manually rebuild the site/restart the automatic rebuilding process, press `control + c` and then run `docker compose up` again.


7. When you are done, press `control + c` and then run `docker-compose down`. Then, optionally:
7. When you are done, press `control + c` and then run `docker compose down`. Then, optionally:
- Docker: quit the Docker app
- Docker Machine/Toolbox: run `docker-machine stop`

Expand Down
2 changes: 1 addition & 1 deletion scripts/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ validate_frontmatter () {

if validate_frontmatter
then
docker-compose run jekyll jekyll build --trace
docker compose run jekyll jekyll build --trace
java -jar node_modules/vnu-jar/build/dist/vnu.jar --skip-non-html --errors-only --filterfile tests/config/vnufilter.txt build/
echo "$(find ./build -type f -name "*.html" | wc -l) files validated"
else
Expand Down

0 comments on commit 40e7715

Please sign in to comment.