-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
## Build chat Application That Scales Horizontally with WebSockets and Upstash Redis | ||
|
||
## Scripts | ||
|
||
```bash | ||
chmod +x run.sh | ||
``` | ||
|
||
```bash | ||
./run.sh | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
docker compose down | ||
export UPSTASH_REDIS_REST_URL=rediss://default:AWgOAAIjcDE5NWUwYjA1MTViMDQ0YTYyOGJiZmI1YzBmODg1ZDEzZnAxMA@golden-moose-26638.upstash.io:6379 | ||
export CORS_ORIGIN=http://localhost:3000 | ||
docker compose up -d --build |