From f1a630c135d3f60ef14e5ab44b34ebe11aa2345e Mon Sep 17 00:00:00 2001 From: nconrad <1194246+nconrad@users.noreply.github.com> Date: Wed, 14 Jun 2023 14:46:03 -0500 Subject: [PATCH] fix typo; update cookiecutter example and link to docs instead --- .../tutorials/edge-apps/2-creating-an-edge-app.md | 6 +++--- src/components/home/Home.tsx | 15 ++++++++------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/docs/tutorials/edge-apps/2-creating-an-edge-app.md b/docs/tutorials/edge-apps/2-creating-an-edge-app.md index 7251194a..48c4ac1a 100644 --- a/docs/tutorials/edge-apps/2-creating-an-edge-app.md +++ b/docs/tutorials/edge-apps/2-creating-an-edge-app.md @@ -52,7 +52,7 @@ if __name__ == "__main__": main() ``` -## Bootstraping our app from a template +## Bootstrapping our app from a template We'll start our by using a cookiecutter template to bootstrap our app. @@ -72,9 +72,9 @@ You should be prompted to fill in the following fields: ```txt name []: app-tutorial -description [My really amazing app!]: +description [My really amazing app!]: author [My name]: Your name -version [0.1.0]: +version [0.1.0]: Select template: 1 - vision 2 - usbserial_sensor diff --git a/src/components/home/Home.tsx b/src/components/home/Home.tsx index ea1bde66..b6849be5 100644 --- a/src/components/home/Home.tsx +++ b/src/components/home/Home.tsx @@ -56,15 +56,16 @@ const appTemplateSnippet = cookiecutter gh:waggle-sensor/cookiecutter-sage-app ... -name [My Amazing App]: image_classification -repo: https://github.com/geeklair/img_class.git -author [My name]: geeklair -version [0.1.0]: 0.2.0 +name []: app-tutorial +description [My really amazing app!]: +author [My name]: Your name +version [0.1.0]: Select template: 1 - vision 2 - usbserial_sensor 3 - minimal -Choose from 1, 2, 3 [1]: 1 +4 - tutorial +Choose from 1, 2, 3, 4 [1]: 4 ` @@ -204,14 +205,14 @@ export default function Home() { Easily analyze data in Pandas with the Sage Data Client - setDevHover('api')} href={`/docs/tutorials/accessing-data#http-api`} target="_blank" rel="noreferrer"> + setDevHover('api')} href="/docs/tutorials/accessing-data#http-api" target="_blank" rel="noreferrer">

HTTP APIs

Access and update data via web APIs
- setDevHover('template')} href="https://github.com/waggle-sensor/cookiecutter-sage-app" target="_blank" rel="noreferrer"> + setDevHover('template')} href="/docs/tutorials/edge-apps/creating-an-edge-app#bootstraping-our-app-from-a-template" target="_blank" rel="noreferrer">

Developer Templates