aboutsummaryrefslogtreecommitdiff
path: root/autogpts/autogpt/run
blob: b37c053fa3e729a9ec1feae23edf3ef61b046243 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

kill $(lsof -t -i :8000)

if [ ! -f .env ]; then
  cp .env.example .env
  echo "Please add your api keys to the .env file." >&2
  # exit 1
fi
poetry run serve --debug