Skip to content

Commit

Permalink
Change error messages that say 'ddev add' to 'ddev start' (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Mar 28, 2017
1 parent e93a293 commit faabc43
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The purpose of *ddev* is to support developers with a local copy of a site for development purposes. It runs the site in Docker containers.

You can see all "ddev" usages using the help commands, like `ddev -h`, `ddev add -h`, etc.
You can see all "ddev" usages using the help commands, like `ddev -h`, `ddev start -h`, etc.

## Key prerequisites
- A working [docker install](https://www.docker.com/community-edition)
Expand Down
2 changes: 1 addition & 1 deletion cmd/ddev/cmd/dev_sequelpro.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var LocalDevSequelproCmd = &cobra.Command{
nameContainer := fmt.Sprintf("%s-db", app.ContainerName())

if !dockerutil.IsRunning(nameContainer) {
Failed("App not running locally. Try `ddev add`.")
Failed("App not running locally. Try `ddev start`.")
}

mysqlContainer, err := dockerutil.GetContainer(nameContainer)
Expand Down
4 changes: 2 additions & 2 deletions cmd/ddev/cmd/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ var LocalDevLogsCmd = &cobra.Command{
nameContainer := fmt.Sprintf("%s-%s", app.ContainerName(), serviceType)

if !dockerutil.IsRunning(nameContainer) {
Failed("App not running locally. Try `ddev add`.")
Failed("App not running locally. Try `ddev start`.")
}

if !platform.ComposeFileExists(app) {
Failed("No docker-compose yaml for this site. Try `ddev add`.")
Failed("No docker-compose yaml for this site. Try `ddev start`.")
}

cmdArgs := []string{
Expand Down

0 comments on commit faabc43

Please sign in to comment.