-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtemplate.yaml
More file actions
27 lines (23 loc) · 1.23 KB
/
template.yaml
File metadata and controls
27 lines (23 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This file is used by `render workflows init` to scaffold new projects.
# It tells the CLI how to display this template and what instructions to show
# after scaffolding. You can safely ignore it when using this example directly.
name: Hello World
description: Simple task and subtask basics
default: true
workflowsRoot: .
renderBuildCommand: pip install -r requirements.txt
renderStartCommand: python main.py
nextSteps:
- label: Enter your project directory
command: cd {{dir}}
- label: Start your local task server
command: render workflows dev -- {{startCommand}}
hint: This runs your workflow service locally, allowing you to view and run tasks without deploying to Render.
- label: Run a task locally (in another terminal)
command: "render workflows tasks start double --local --input='[5]'"
hint: If you see 10, your tasks are working!
- label: Deploy your workflow service to Render
hint: |
To deploy this workflow to Render, first push this code to a remote repository. Then, create a workflow service from your Render Dashboard, connect it to your repository, and provide the following build and start commands:
• Build command: {{renderBuildCommand}}
• Start command: {{renderStartCommand}}