Deploys python GCP Functions with private git requirements.
pip install tal
-
Add the following to
main.py
import sys sys.path.append('lib')
-
Put git dependencies in
private_requirements.txt
. -
Make sure there is no
lib/
directory. -
Run
tal func deploy my_func --stage dev
.
- Run
tal repo create my_repo
- Run
tal storage create-bucket my_bucket
- Run
tal storage delete-bucket my_bucket
- Run
tal storage upload my_file.txt --bucket=my_bucket --path=my/nested/path
Build like Tal: https://www.youtube.com/watch?v=CF6w2-WNZLE