Skip to content

Commit

Permalink
updated getting started page with correct instructions (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
moose007 authored and katrogan committed Dec 27, 2019
1 parent b911264 commit 6a44222
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rsts/user/getting_started/create_first.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ The easiest way to author a Flyte Workflow is using the provided python SDK call
You can save some effort by cloning the ``flytesnacks`` repo, and re-initializing it as a new git repository ::

git clone [email protected]:lyft/flytesnacks.git myflyteproject
cd myworkflow
cd myflyteproject
rm -rf .git
git init
cd python

now open the "Makefile" and change the first line to ``IMAGE_NAME=myflyteproject``

Let's also remove the existing python task so we can write one from scratch. ::

rm workflows/edges.py
rm single_step/edges.py

Creating a Project
******************
Expand All @@ -36,6 +37,7 @@ The most basic Flyte primitive is a "task". Flyte Tasks are units of work that c

Start by creating a new file ::

mkdir -p workflows
touch workflows/first.py

This directory has been marked in the `configuration file <https://github.com/lyft/flytesnacks/blob/764b82aca5701137ebc0eda4e818466e5acc9219/sandbox.config#L2>`_ as the location to look for workflows and tasks. Begin by importing some of the libraries that we'll need for this example.
Expand Down

0 comments on commit 6a44222

Please sign in to comment.