Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This repository should have clear guidance and capability to build, run, debug and deploy via CLI #11

Open
paulotruta opened this issue Dec 8, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@paulotruta
Copy link
Owner

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 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)
@paulotruta paulotruta added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed labels Dec 8, 2022
@paulotruta paulotruta added this to the First Iteration milestone Dec 8, 2022
@paulotruta
Copy link
Owner Author

Update: #26 introduces improvements regarding running the skill via VScode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant