Page MenuHomePhabricator

D4253.id13475.diff
No OneTemporary

D4253.id13475.diff

diff --git a/docs/dev_services.md b/docs/dev_services.md
--- a/docs/dev_services.md
+++ b/docs/dev_services.md
@@ -59,3 +59,37 @@
## Visual Studio Code
If you are using Visual Studio Code as your code editor you can [attach to a Docker container](https://code.visualstudio.com/docs/remote/attach-container) and develop inside it.
+
+## Services dev-mode
+
+To make the development and testing process easier you can run services using the local development environment. It uses [localstack](https://localstack.cloud/) local cloud including DynamoDB and S3.
+Tunnelbroker also requires an [RabbitMQ](https://www.rabbitmq.com/) server to connect, it will be started as a local docker container in a local
+development mode.
+
+First, you need to start the local cloud using the following command from the the `services` directory:
+
+```
+yarn run-local-cloud
+```
+
+This will start the [localstack](https://localstack.cloud/) and [RabbitMQ](https://www.rabbitmq.com/) docker containers.
+
+To start a certain service in development mode you can run the following command:
+
+```
+yarn run-service-name-dev-mode
+```
+
+For example, for the tunnelbroker the command will look like:
+
+```
+yarn run-tunnelbroker-service-dev-mode
+```
+
+You can also run all services at once in the dev-mode using the command below:
+
+```
+yarn run-all-services-dev-mode
+```
+
+The dev-mode service will connect to the local instance of the localstack cloud (s3, dynamoDB) and the local instance of the RabbitMQ server and you can use it for the development and testing purposes locally.
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 28, 8:44 AM (19 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2593445
Default Alt Text
D4253.id13475.diff (1 KB)

Event Timeline