Commit f5c80cd2 authored by Przemek Dziewa's avatar Przemek Dziewa Committed by Shao Yu-Lung (Allen)
Browse files

Added docker-compose run workspace example (#2094)

parent 5b07fbb9
......@@ -69,6 +69,14 @@ Note that more containers are available, find them in the [docs](http://laradock
docker-compose exec workspace bash
```
## Execute commands
If you want to only execute some command and don't want to enter bash, you can execute `docker-compose run workspace <command>`.
```
docker-compose run workspace php artisan migrate
```
## Install and configure Laravel
Let's install Laravel's dependencies, add the `.env` file, generate the key and give proper permissions to the cache folder.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment