Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Jun 9, 2021
1 parent 0c00b59 commit 5fb4f28
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/installation-and-operations/operation/control/README.md
Expand Up @@ -76,7 +76,7 @@ sudo openproject restart web



## Docker-based installation
## All-in-one Docker-based installation

#### Run commands like rake tasks or rails console

Expand Down Expand Up @@ -124,3 +124,15 @@ Launch an interactive console to directly interact with the underlying Ruby on R
docker exec -it $CIT bash -c "RAILS_ENV=production rails console"
```

## docker-compose based installation

#### Spawn a rails console

You can spawn an interactive shell in your docker-compose setup container to run commands in the OpenProject environment.


The following command will spawn a Rails console in the container:

```bash
docker-compose run web bash -c "RAILS_ENV=production bundle exec rails console"
```

0 comments on commit 5fb4f28

Please sign in to comment.