diff --git a/.codesandbox/Dockerfile b/.codesandbox/Dockerfile new file mode 100644 index 00000000..6e7a2dd6 --- /dev/null +++ b/.codesandbox/Dockerfile @@ -0,0 +1,3 @@ +FROM python:3.11 + +RUN pip install --upgrade pip diff --git a/.codesandbox/tasks.json b/.codesandbox/tasks.json new file mode 100644 index 00000000..754f6d37 --- /dev/null +++ b/.codesandbox/tasks.json @@ -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" + } + } +} diff --git a/README.md b/README.md index a9d1e179..72c497fb 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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!