Page MenuHomePhorge

D15173.1765126434.diff
No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None

D15173.1765126434.diff

diff --git a/docs/dev_services.md b/docs/dev_services.md
--- a/docs/dev_services.md
+++ b/docs/dev_services.md
@@ -82,7 +82,7 @@
### Running services in the sandbox
-First, you need to initialize the local cloud using the following command from the the `services` directory:
+First, you need to initialize the local cloud using the following command from the `services` directory:
```
yarn init-local-cloud
@@ -90,22 +90,22 @@
This will start the LocalStack Docker image and initialize required resources, including DynamoDB tables and S3 buckets, using the Terraform scripts located in `services/terraform`.
-To start a certain service in the sandbox you can run the following command:
+To start any service in the sandbox, except the Identity, you can run the following command:
```
-yarn run-[service-name]-service-in-sandbox
+cargo run
```
-For example, for Tunnelbroker the command will look like this:
+To run the Identity service for the first time, you need to configure its keys:
```
-yarn run-tunnelbroker-service-in-sandbox
+cargo run keygen
```
-You can also run all services at once in the sandbox using the command below:
+Then you can start the service:
```
-yarn run-all-services-in-sandbox
+cargo run server
```
### Rebuilding the base image
diff --git a/docs/nix_services_setup.md b/docs/nix_services_setup.md
--- a/docs/nix_services_setup.md
+++ b/docs/nix_services_setup.md
@@ -6,10 +6,10 @@
## LocalStack
-We use LocalStack to emulate AWS services, allowing us to develop and test our services locally. To start LocalStack, run:
+We use LocalStack to emulate AWS services, allowing us to develop and test our services locally. To start LocalStack, run from the `services` directory:
```
-comm-dev services start
+yarn init-local-cloud
```
Make sure your LocalStack resources are up to date:
diff --git a/docs/nix_services_workflows.md b/docs/nix_services_workflows.md
--- a/docs/nix_services_workflows.md
+++ b/docs/nix_services_workflows.md
@@ -38,3 +38,12 @@
Again, replace `your-table` with the name of the name of the table you would like to inspect.
These commands will give you an overview of your table’s structure and contents in LocalStack DynamoDB.
+
+### DynamoDB web UI
+
+You can also use a web UI, for example `dynamodb-admin` to view and edit DynamoDB tables.
+
+```
+npm install -g dynamodb-admin
+DYNAMO_ENDPOINT=http://localhost:4566 AWS_REGION=us-east-2 npx dynamodb-admin --open
+```

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 7, 4:53 PM (18 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5845107
Default Alt Text
D15173.1765126434.diff (2 KB)

Event Timeline