Change command about enter workspace container.

This commit is contained in:
Bo-Yi Wu 2016-06-23 13:16:52 +08:00 committed by GitHub
parent ca413edff4
commit 69406db3e0

View File

@ -494,19 +494,13 @@ You can run artisan commands and many other Terminal commands from the Workspace
docker-compose up -d workspace // ..and all your other containers docker-compose up -d workspace // ..and all your other containers
``` ```
2 - Find the Workspace container name: 2 - Enter the Workspace container:
```bash ```bash
docker-compose ps docker-compose run workspace /bin/bash
``` ```
3 - Enter the Workspace container: 3 - Run anything you want :)
```bash
docker exec -it {workspace-container-name} bash
```
4 - Run anything you want :)
```bash ```bash
php artisan php artisan
@ -518,13 +512,6 @@ Composer update
phpunit phpunit
``` ```
<br> <br>
<a name="Use-Redis"></a> <a name="Use-Redis"></a>
### Use Redis ### Use Redis