Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ecommerce to work with new runtime and service ports #86

Merged
merged 2 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions typescript/ecommerce-store/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,19 @@ Restate is a system for easily building resilient applications using **distribut

## Deployment on Docker Compose

Build the Docker containers for the web app and services:

```shell
docker build -t dev.local/shopping-cart/react-app:0.0.1 ./react-shopping-cart
docker build ./services/ -t dev.local/shopping-cart/services:0.0.1
```

You can store the products data in the Restate runtime or in a separate Postgres DB:

1. To store the products in Restate state, bring up the Docker Compose setup via:

```shell
docker compose -f deployment/docker/docker-compose.yml build --no-cache
docker compose -f deployment/docker/docker-compose.yml up
```

2. To store the products in a Postgres DB, bring up the Docker Compose setup via:

```shell
docker compose -f deployment/docker/docker-compose-pg.yml build --no-cache
docker compose -f deployment/docker/docker-compose-pg.yml up
```

Expand All @@ -68,10 +63,6 @@ You can find the Jaeger UI at http://localhost:16686. Have a look at the demo sc

You can find the deployment guide for Kubernetes (kind) and Knative [here](./deployment/knative/README.md).

## Deployment on AWS - Fargate - Terraform

You can find the deployment guide for AWS Fargate [here](./deployment/aws/README.md).

## Running locally

The demo also runs locally. This option doesn't store the products in a Postgres database.
Expand Down
8 changes: 0 additions & 8 deletions typescript/ecommerce-store/deployment/aws/.gitignore

This file was deleted.

104 changes: 0 additions & 104 deletions typescript/ecommerce-store/deployment/aws/README.md

This file was deleted.

164 changes: 0 additions & 164 deletions typescript/ecommerce-store/deployment/aws/ecs/main.tf

This file was deleted.

19 changes: 0 additions & 19 deletions typescript/ecommerce-store/deployment/aws/ecs/variables.tf

This file was deleted.

Loading
Loading