Skip to content

Commit 6798e97

Browse files
Merge pull request #135 from restackio/readmeVercel
Agent with React flow: fix vercel readme
2 parents 056ed22 + a222303 commit 6798e97

File tree

2 files changed

+33
-3
lines changed

2 files changed

+33
-3
lines changed

agent-reactflow/README.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,36 @@ pnpm event-agent
114114

115115
It will connect to Restack and send an events to the agent.
116116

117-
## Deploy on Restack Cloud
117+
118+
## Deploy on Cloud
119+
120+
### Deploy frontend on Vercel
121+
122+
Choose root directory as the project root.
123+
124+
Root directory
125+
126+
```
127+
agent-reactflow/apps/frontend
128+
```
129+
130+
Build command
131+
```bash
132+
turbo run build --filter=@agent-reactflow/frontend
133+
```
134+
135+
### Deploy backend on Restack Cloud
118136

119137
To deploy the application on Restack, you can create an account at [https://console.restack.io](https://console.restack.io)
138+
139+
Custom Dockerfile path
140+
141+
```
142+
/agent-reactflow/Dockerfile
143+
```
144+
145+
Application folder
146+
147+
```
148+
/agent-reactflow
149+
```

agent-reactflow/turbo.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"build": {
66
"dependsOn": ["^build"],
77
"inputs": ["$TURBO_DEFAULT$", ".env*"],
8-
"outputs": [".next/**", "!.next/cache/**"]
9-
8+
"outputs": [".next/**", "!.next/cache/**"],
9+
"env": ["RESTACK_*"]
1010
},
1111
"lint": {
1212
"dependsOn": ["^lint"]

0 commit comments

Comments
 (0)