Skip to content

Commit

Permalink
[Release] Update the examples (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
reboot-dev-bot authored Mar 14, 2024
1 parent ffd6f23 commit 91e03c1
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
29 changes: 27 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,10 @@ Now you're ready to [run the application](#run-the-application)!
## Install prerequisites manually

> [!IMPORTANT]
> Resemble backends currently can **only run on x86 Linux** machines with
> Resemble backends currently can **on x86_64 Linux** machines with
> `glibc>=2.35` (Ubuntu Jammy and other equivalent-generation Linux
> distributions). If you have a machine that doesn't fit this requirement, we
> distributions), and **on arm64/x86_64 MacOS**, where `MacOS>=13.0` and
> `Xcode>=14.3`. If you have a machine that doesn't fit this requirement, we
> suggest using one of the approaches discussed above.
### Prerequisites

Expand Down Expand Up @@ -242,3 +243,27 @@ To run your image on the Resemble Cloud, run:

Execute that `rsm cloud up` command to have your pushed Resemble container run
on the Resemble Cloud! 🎉

To make calls to the application that just started, get the endpoint URL from
message output to the console.

```sh
Application starting; you application will be available at:

<somelongstring>.<application_id>.resemble.cloud:9991
```

To build a version of the frontend that can talk to the deployed app, replace
value passed to the `ResembleClient` in `web/serc/index.tsx`:

```tsx
const client = new ResembleClient(
"<somelongstring>.<application_id>.resemble.cloud:9991")
;
```

Then run `npm run build`.

Once built, this front end can be deployed to any static hosting provider like
S3, Vercel, Cloudflare or Firebase hosting.

2 changes: 1 addition & 1 deletion backend/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
reboot-resemble>=0.5.1
reboot-resemble>=0.5.2
pytest>=7.4.2
types-protobuf>=4.24.0.20240129
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@reboot-dev/resemble-react": "^0.5.1",
"@reboot-dev/resemble-react": "^0.5.2",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
Expand Down

0 comments on commit 91e03c1

Please sign in to comment.