2020-04-06 16:40:40 +02:00
|
|
|
# Docker API
|
|
|
|
|
|
|
|
## Dev Setup
|
|
|
|
|
|
|
|
To setup a development machine to update the API protobufs, first run the `./setup-dev.sh` script
|
|
|
|
to install the correct version of protobufs on your system and get the protobuild binary.
|
2020-04-06 16:43:36 +02:00
|
|
|
|
|
|
|
## Building the API Project
|
|
|
|
|
|
|
|
```bash
|
|
|
|
> make
|
|
|
|
```
|
2020-04-06 17:22:34 +02:00
|
|
|
|
|
|
|
## Build the example backend
|
|
|
|
|
|
|
|
The example backend code is located in `/example/backend`.
|
|
|
|
Build the service with the resulting binary placed in the `/bin` directory.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
> make example
|
|
|
|
```
|