Files
Auto-GPT/autogpts/forge/run
merwanehamadi 885f120aa4 Add agbenchmark serve to run command (#5222)
* Add agbenchmark serve to run command

* Update autogpts-ci.yml
2023-09-15 09:31:00 -07:00

12 lines
228 B
Bash
Executable File

#!/bin/bash
kill $(lsof -t -i :8000)
kill $(lsof -t -i :8080)
poetry install
if [ ! -f .env ]; then
cp .env.example .env
echo "Please add your api keys to the .env file."
fi
poetry run python -m forge &
agbenchmark serve &