Skip to content
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This will start Node.js app with two Restack Services. Your code will be running
To start the Restack Studio, you can use Docker.

```bash
docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
```

## Schedule the parent workflow
Expand All @@ -46,7 +46,7 @@ RESTACK_ENGINE_API_KEY=
RESTACK_CLOUD_TOKEN=

```
5. Now run the following command at the root of the folder `examples/childworkflows`
5. Now run the following command at the root of the folder `childworkflows`

``` bash
pnpm restack-up
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const main = async () => {

const servicesApp = {
name: "services",
dockerFilePath: "examples/child-workflows/Dockerfile",
dockerBuildContext: "examples/child-workflows",
dockerFilePath: "child-workflows/Dockerfile",
dockerBuildContext: "child-workflows",
environmentVariables: [
...restackEngineEnvs,
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/composio/readme.md → composio/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ brew install pnpm
To install the Restack Web UI, you can use Docker.

```bash
docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
```

# Start services
Expand Down
4 changes: 2 additions & 2 deletions examples/composio/restack_up.mjs → composio/restack_up.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const main = async () => {

const servicesApp = {
name: "services",
dockerFilePath: "examples/composio/Dockerfile",
dockerBuildContext: "examples/composio",
dockerFilePath: "composio/Dockerfile",
dockerBuildContext: "composio",
environmentVariables: [
{
name: "COMPOSIO_API_KEY",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Functions can be executed as steps in a [workflow](https://docs.restack.io/featu
First, install the Restack Web UI and Engine using Docker:

```bash
docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
```

- Required for any function and workflow execution as the orchestration layer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ const main = async () => {
const frontend = {
name: 'frontend',
dockerFilePath:
'examples/defense_quickstart_news_scraper_summarizer/frontend/Dockerfile',
'defense_quickstart_news_scraper_summarizer/frontend/Dockerfile',
dockerBuildContext:
'examples/defense_quickstart_news_scraper_summarizer/frontend',
'defense_quickstart_news_scraper_summarizer/frontend',
environmentVariables: [...restackEngineEnvs],
portMapping: [
{
Expand All @@ -69,9 +69,9 @@ const main = async () => {
const backend = {
name: 'backend',
dockerFilePath:
'examples/defense_quickstart_news_scraper_summarizer/backend/Dockerfile',
'defense_quickstart_news_scraper_summarizer/backend/Dockerfile',
dockerBuildContext:
'examples/defense_quickstart_news_scraper_summarizer/backend',
'defense_quickstart_news_scraper_summarizer/backend',
environmentVariables: [
...restackEngineEnvs,
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/openai/readme.md → encryption/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ brew install pnpm

To install the Restack Web UI, you can use Docker.
```
docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
```

# Start services
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed examples/voice/src/.DS_Store
Binary file not shown.
1 change: 0 additions & 1 deletion examples/voice/tsconfig.tsbuildinfo

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This project demonstrates how to build a simple Express application that integra

# Run Restack in Docker

docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main

# Open the Desktop UI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const main = async () => {

const expressServer = {
name: "express",
dockerFilePath: "examples/express/Dockerfile",
dockerBuildContext: "examples/express",
dockerFilePath: "express/Dockerfile",
dockerBuildContext: "express",
environmentVariables: [...restackEngineEnvs],
};

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/express/readme.md → express/readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Run Restack in Docker
docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main

# Open the Desktop UI
http://localhost:5233
Expand Down
4 changes: 2 additions & 2 deletions examples/swagger/restack_up.mjs → express/restack_up.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const main = async () => {

const expressServer = {
name: "express",
dockerFilePath: "examples/express/Dockerfile",
dockerBuildContext: "examples/express",
dockerFilePath: "express/Dockerfile",
dockerBuildContext: "express",
environmentVariables: [...restackEngineEnvs],
};

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "tsc --build",
"schedule-workflow": "tsx scheduleWorkflow.ts",
"restack-up": "tsx restackUp.ts",
"restack-studio": "docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main"
"restack-studio": "docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main"
},
"dependencies": {
"@restackio/ai": "0.0.85",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/get-started/readme.md → get-started/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This will start Node.js app with two Restack Services. Your code will be running
To start the Restack Studio, you can use Docker.

```bash
docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
```

## Schedule a demo Workflow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const main = async () => {

const servicesApp = {
name: "services",
dockerFilePath: "examples/get-started/Dockerfile",
dockerBuildContext: "examples/get-started",
dockerFilePath: "get-started/Dockerfile",
dockerBuildContext: "get-started",
environmentVariables: [
{
name: "OPENAI_API_KEY",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ brew install pnpm
To install the Restack Web UI, you can use Docker.

```bash
docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
```

# Start services
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const main = async () => {

const servicesApp = {
name: "services",
dockerFilePath: "examples/gemini/Dockerfile",
dockerBuildContext: "examples/gemini",
dockerFilePath: "gemini/Dockerfile",
dockerBuildContext: "gemini",
environmentVariables: [
{
name: "GEMINI_API_KEY",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/gotohuman/readme.md → gotohuman/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ We are using a hard-coded topic here, but you could also trigger a workflow run
To install the Restack Web UI, you can use Docker.

```
docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
```

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/human-loop/readme.md → human-loop/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ brew install pnpm
To install the Restack Web UI, you can use Docker.

```
docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
```

# Start services
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This project demonstrates how to build a Next.js application that integrates Tog
First, install the Restack Web UI using Docker:

```bash
docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
```

### 2. Set Up Backend
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const main = async () => {

const expressServer = {
name: "express",
dockerFilePath: "examples/express/Dockerfile",
dockerBuildContext: "examples/express",
dockerFilePath: "express/Dockerfile",
dockerBuildContext: "express",
environmentVariables: [...restackEngineEnvs],
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ const main = async () => {

const frontendNextJs = {
name: "nextjs",
dockerFilePath: "examples/nextjs-together-llamaindex/frontend/Dockerfile",
dockerBuildContext: "examples/nextjs-together-llamaindex/frontend",
dockerFilePath: "nextjs-together-llamaindex/frontend/Dockerfile",
dockerBuildContext: "nextjs-together-llamaindex/frontend",
environmentVariables: [...restackEngineEnvs],
};

const backendNodeJs = {
name: "backend",
dockerFilePath: "examples/nextjs-together-llamaindex/backend/Dockerfile",
dockerBuildContext: "examples/nextjs-together-llamaindex/backend",
dockerFilePath: "nextjs-together-llamaindex/backend/Dockerfile",
dockerBuildContext: "nextjs-together-llamaindex/backend",
environmentVariables: [
...restackEngineEnvs,
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/nextjs/README.md → nextjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This project uses [`next/font`](https://nextjs.org/docs/app/building-your-applic

To install the Restack Web UI, you can use Docker.
```
docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
```
# Schedule Restack workflow from NextJS frontend

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions examples/nextjs/restack_up.mjs → nextjs/restack_up.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const main = async () => {

const nextjsApp = {
name: "nextjs",
dockerFilePath: "examples/nextjs/Dockerfile",
dockerBuildContext: "examples/nextjs",
dockerFilePath: "nextjs/Dockerfile",
dockerBuildContext: "nextjs",
environmentVariables: [...restackEngineEnvs],
};

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/encryption/readme.md → openai/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ brew install pnpm

To install the Restack Web UI, you can use Docker.
```
docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
```

# Start services
Expand Down
Loading