Skip to content

Add CodeSandbox support #15

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .codesandbox/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM python:3.11

RUN pip install --upgrade pip
22 changes: 22 additions & 0 deletions .codesandbox/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
// These tasks will run in order when initializing your CodeSandbox project.
"setupTasks": [
{
"name": "Installing Dependencies",
"command": "pip install -r requirements.txt"
}
],

// These tasks can be run from CodeSandbox. Running one will open a log in the app.
"tasks": {
"python main.py": {
"name": "python main.py",
"command": "python main.py",
"runAtStart": true
},
"pip install -r requirements.txt": {
"name": "Install Dependencies",
"command": "pip install -r requirements.txt"
}
}
}
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Get a todo list ChatGPT plugin up and running in under 5 minutes using Python. I

## Setup

### In CodeSandbox

You can open this repository in CodeSandbox to get started without installing or running anything locally. Open [this sandbox](https://codesandbox.io/p/sandbox/github/openai/plugins-quickstart) and press "Fork" to get started with your own version.

### Locally

To install the required packages for this plugin, run the following command:

```bash
Expand All @@ -22,7 +28,7 @@ Once the local server is running:
2. In the Model drop down, select "Plugins" (note, if you don't see it there, you don't have access yet).
3. Select "Plugin store"
4. Select "Develop your own plugin"
5. Enter in `localhost:5003` since this is the URL the server is running on locally, then select "Find manifest file".
5. Enter in http://localhost:5003 since this is the URL the server is running on locally, then select "Find manifest file".

The plugin should now be installed and enabled! You can start with a question like "What is on my todo list" and then try adding something to it as well!

Expand Down