mirror of
https://github.com/Significant-Gravitas/Auto-GPT.git
synced 2025-01-08 11:57:32 +08:00
ef7cfbb860
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
11 lines
206 B
Bash
Executable File
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
|