These instructions will guide you through configuring a GitHub Codespaces environment that you can use to run the code.
1. Click on the button below to start a new codespace from this repository.
2. Then click on the option to create a new codespace.
This will run for a few minutes while it gets the virtual environment ready. You'll then need to run a setup script to finalize the installation.
3. Run setup script to finalize the installation.
In the codespace TERMINAL panel at the bottom, run the following command.
scripts/setup.sh
This will setup the python environment, install needed python pieces, install Ollama, and then download the model we will use. This will take several more minutes to run.
4. Open a new terminal.
When the script is completed (after a long run), you can just click on the "+" sign on the far right to get a new terminal with the provided Python environment to work in.
5. Open the labs file.
You can open the labs.md file either in your codespace or in a separate browswer tab/instance.**
4. Change your codespace's default timeout from 30 minutes to 60 or more. To do this, when logged in to GitHub, go to https://github.com/settings/codespaces and scroll down on that page until you see the Default idle timeout section. Adjust the value as desired.