aboutsummaryrefslogtreecommitdiff
path: root/autogpts/forge/run
diff options
context:
space:
mode:
Diffstat (limited to 'autogpts/forge/run')
-rwxr-xr-xautogpts/forge/run9
1 files changed, 9 insertions, 0 deletions
diff --git a/autogpts/forge/run b/autogpts/forge/run
new file mode 100755
index 000000000..5d676909a
--- /dev/null
+++ b/autogpts/forge/run
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+kill $(lsof -t -i :8000)
+
+if [ ! -f .env ]; then
+ cp .env.example .env
+ echo "Please add your api keys to the .env file."
+fi
+poetry run python -m forge