Startrd working on a cookiecutter template here <h...
# announcements
r
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
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
Thanks :) I wanna make a template for multi container too, should be pretty easy
e
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
ah yea i could make a PR on that
k
@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
166 Views