Auto-GPT/classic/original_autogpt/run
Swifty ef7cfbb860
refactor: AutoGPT Platform Stealth Launch Repo Re-Org (#8113)
Restructuring the Repo to make it clear the difference between classic autogpt and the autogpt platform:
* Move the "classic" projects `autogpt`, `forge`, `frontend`, and `benchmark` into a `classic` folder
  * Also rename `autogpt` to `original_autogpt` for absolute clarity
* Rename `rnd/` to `autogpt_platform/`
  * `rnd/autogpt_builder` -> `autogpt_platform/frontend`
  * `rnd/autogpt_server` -> `autogpt_platform/backend`
* Adjust any paths accordingly
2024-09-20 16:50:43 +02:00

11 lines
206 B
Bash
Executable File

#!/bin/sh
kill $(lsof -t -i :8000)
if [ ! -f .env ] && [ -z "$OPENAI_API_KEY" ]; then
cp .env.example .env
echo "Please add your api keys to the .env file." >&2
# exit 1
fi
poetry run serve --debug