Skip to content

Commit

Permalink
added instructions to stop the development containers
Browse files Browse the repository at this point in the history
  • Loading branch information
pimg committed Apr 29, 2019
1 parent 898c974 commit cacbfb3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions DEV_ENV_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,25 @@ The development container for APIcast uses a Docker volume mount to mount the lo

It also means you can use your favorite IDE or editor develop your 3scale policy.

### Stopping the development container
Stopping the development environment container is a two step process. In the interactive Bash session simple press:

```
Ctrl + C
```

This exits the foreground bash shell, but the containers are still running. Execute the following make command to cleanly stop all containers:

```shell
$ make stop-development
docker-compose -f docker-compose-devel.yml down
Stopping apicast_build_0_development_1_802efce654d5 ... done
Stopping apicast_build_0_redis_1_469bce65a85a ... done
Removing apicast_build_0_development_1_802efce654d5 ... done
Removing apicast_build_0_redis_1_469bce65a85a ... done
Removing network apicast_build_0_default
```

### Optional: setup an IDE for policy development
The use of an IDE or text editor and more specifically which one is very personal so there is definitely no one size fits all here. But for those looking for a dedicated Lua IDE [ZeroBraneStudio](https://studio.zerobrane.com/) is a good choice.

Expand Down

0 comments on commit cacbfb3

Please sign in to comment.