From ade8365d2c9f1be958a45c167df23b0de9af441d Mon Sep 17 00:00:00 2001 From: Lubos Kocman Date: Tue, 3 Mar 2026 14:48:10 +0100 Subject: [PATCH] Replace 'docker-compose' with 'docker compose' Updated docker-compose commands to use 'docker compose' syntax. Which is how its used nowadays. docker-compose doesn't provide /usr/bin/docker-compose anymore, it's all plugins now. --- CONTRIBUTING.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aef3200b..42cec0c6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -91,15 +91,15 @@ sed "s/13042/`id -u`/" docker-compose.override.yml.example > docker-compose.over 1. Build the development environment (only once) ```bash - docker-compose build --no-cache --pull + docker compose build --no-cache --pull ``` 1. Set up the development environment (only once) ```bash - docker-compose run --rm osem bundle exec rake db:bootstrap + docker compose run --rm osem bundle exec rake db:bootstrap ``` 1. Start the development environment: ```bash - docker-compose up --build + docker compose up --build ``` 1. Check out your OSEM rails app. You can access the app at http://localhost:3000. Whatever you change in your cloned repository will have effect in the development environment. Sign up, the first user will be automatically assigned the admin role. @@ -111,12 +111,12 @@ sed "s/13042/`id -u`/" docker-compose.override.yml.example > docker-compose.over 1. Issue any standard `rails`/`rake`/`bundler` command ```bash - docker-compose run --rm osem bundle exec rake db:version + docker compose run --rm osem bundle exec rake db:version ``` 1. Or explore the development environment: ```bash - docker-compose exec osem /bin/bash -l + docker compose exec osem /bin/bash -l ``` 1. Want to know more? In our [wiki](https://github.com/openSUSE/osem/wiki) you can find more information about what is possible in our development environment, how we work with each other on github or other topics of interest for OSEM developers.