Tutorials and Courses for Griptape.
- Always put code in a folder called
code_reviews/under thedocsdirectory if you'd like it to be picked up by the tests - You can insert python files into your docs with this notation:
Note: Make sure the path is relative to the
```python linenums="1" title="app.py" hl_lines="11 74-77" --8<-- "docs/courses/chatbot-rulesets/assets/code_reviews/14/app.py" ```base_dirso in this casedocs
This package explicitly does not include Griptape so that it can be specified when running tests in the workflow. It is installed with the test extra via poetry. If you need to update the version of griptape installed, then update the pyproject.toml
First copy .env.example to .env and fill out the keys required. Then run the following.
make install
make test
-
Install Act
brew install actFor Windows use choco instead of brew
choco install act-cli -
Create a local
.envfile from the.env.exampleand fill out the keys required -
Make sure you have Docker installed
-
Run the following command
act -P ubuntu-latest=catthehacker/ubuntu:act-latest --secret-file .env