mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 22:21:11 +00:00
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.
This commit is contained in:
parent
44db914089
commit
ade8365d2c
1 changed files with 5 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue