| 1 |
Shellbox |
| 2 |
======== |
| 3 |
|
| 4 |
Shellbox is a library and server for containerized shell execution. |
| 5 |
|
| 6 |
More information on how to set up and configure Shellbox is available |
| 7 |
at <https://www.mediawiki.org/wiki/Shellbox>. |
| 8 |
|
| 9 |
## Set up your dev environment |
| 10 |
Granted you have docker-compose installed, and that you can issue docker commands as your user, you can have a working development setup by running |
| 11 |
|
| 12 |
$ make run |
| 13 |
|
| 14 |
this will build an appropriate container for your application (if not present) and run the whole |
| 15 |
httpd/php-fpm combo for you, and listen on port 8080. It will use your local source as a volume, so you will be able to see changes in the code reflected in responses from the daemon instantly. |
| 16 |
|
| 17 |
If you change the dependencies, and thus composer.json or composer.lock, you will have to force a rebuild of the container, by using |
| 18 |
|
| 19 |
$ make rebuild |
| 20 |
|
| 21 |
To run the tests that run in CI locally (also via docker), you need can use `make test`. |