https://flyte.org logo
#announcements
Title
# announcements
r

Robin Kahlow

06/12/2022, 12:23 AM
Startrd working on a cookiecutter template here https://github.com/RobinKa/flyte-template, I wanted to make it easy to build and execute workflows for new people, so after creating a project with it all you have to do (besides having docker, flytectl set up) is install the dev dependencies and run
python commands.py build-execute.py --version v1
❤️ 6
Maybe I should use flyte remote instead of cli, not sure
h

Haytham Abuelfutuh

06/12/2022, 1:22 AM
This is awesome! Thank you for working on that. cc @Niels Bantilan @Eduardo Apolinario (eapolinario) to help coordinate how this fits with flytekit init... Etc.
r

Robin Kahlow

06/12/2022, 1:29 AM
Thanks :) I wanna make a template for multi container too, should be pretty easy
e

Eduardo Apolinario (eapolinario)

06/13/2022, 5:14 PM
This is pretty awesome, @Robin Kahlow! flytekit offers an initial cookiecutter template via the
pyflyte init
command: https://github.com/flyteorg/flytekit/blob/master/flytekit/clis/sdk_in_container/init.py. Notice how we take a
--template
parameter, so we could very easily turn your template into another template in https://github.com/flyteorg/flytekit-python-template.
r

Robin Kahlow

06/13/2022, 6:05 PM
ah yea i could make a PR on that
k

Ketan (kumare3)

06/15/2022, 5:41 AM
@Robin Kahlow also, I looked into your code a little bit, I think you can use flytekit.remote instead of parsing flytectl https://github.com/RobinKa/flyte-template/blob/d0ad2d5741accadaab81e0f40d22972fb0b15e36/%7B%7Bcookiecutter.app%7D%7D/commands.py#L70 here
flytekit remote is what is used in
pyflyte run
etc
Also @Yee has made
pyflyte register
now
👍 1
80 Views