It mostly uses Ask CLI from Amazon to orchestrate.
It leverages VSCode config files to build, run and debug from the IDE.
We should use a virtualenv to be able to install dependencies in an isolated fashion.
Additionally, we should be able to run the following commands:
make environment - Prepares the environment by executing the hooks\post_new_hook, which in turn should make sure that the virtualenv is setup.
make dependencies - Installs all dependencies of requirements.txt using the Python Virtual Env available
make build - Copies the source code from lambda_function.py to the Python Virtual Environment site-packages folder
make install- Runs all of the above in order.
make start - Should run the skill via a local system (see here)
This is an excellent guide on setting up a skill in a way that you can build, run, debug and test locally.
It mostly uses Ask CLI from Amazon to orchestrate. It leverages VSCode config files to build, run and debug from the IDE. We should use a virtualenv to be able to install dependencies in an isolated fashion.
Additionally, we should be able to run the following commands:
make environment
- Prepares the environment by executing the hooks\post_new_hook, which in turn should make sure that the virtualenv is setup.make dependencies
- Installs all dependencies of requirements.txt using the Python Virtual Env availablemake build
- Copies the source code from lambda_function.py to the Python Virtual Environment site-packages foldermake install
- Runs all of the above in order.make start
- Should run the skill via a local system (see here)