feat: deprecate compose subcommand
This commit is contained in:
17
README.md
17
README.md
@@ -49,19 +49,6 @@ since docker reads that too:
|
||||
COMPOSE_FILE=docker/docker-compose.yaml
|
||||
```
|
||||
|
||||
## compose
|
||||
|
||||
Wrappers around the matching `docker compose` call, plus `exec` and `bash`
|
||||
which default to the django service.
|
||||
|
||||
```bash
|
||||
ahab compose up # also build, down, ps, start, stop
|
||||
ahab compose rebuild # stop, build, up
|
||||
ahab compose restart # stop, up, so containers are recreated
|
||||
ahab compose bash # shell in the django service
|
||||
ahab compose exec <cmd>
|
||||
```
|
||||
|
||||
## service detection
|
||||
|
||||
`ahab` finds the services it needs in `docker compose config`, so they can be
|
||||
@@ -83,7 +70,9 @@ project declares, falling back to `db` when it declares neither.
|
||||
## django
|
||||
|
||||
```bash
|
||||
ahab django manage <args> # manage.py in a fresh container
|
||||
ahab django run <cmd> # in a fresh container, through the entrypoint
|
||||
ahab django bash # shell in a fresh container
|
||||
ahab django manage <args> # manage.py
|
||||
ahab django makemigrations
|
||||
ahab django migrate <args>
|
||||
ahab django shell
|
||||
|
||||
Reference in New Issue
Block a user