[Haik]: cleaned up running shell scripts

This commit is contained in:
haikdc
2026-03-30 02:15:49 -07:00
parent 7239f70446
commit 0112c4bd8d
5 changed files with 12 additions and 7 deletions
+7 -4
View File
@@ -85,7 +85,7 @@ Download the latest release for macOS from [GitHub Releases](https://github.com/
```bash
git clone https://github.com/openswarm-ai/openswarm.git
cd openswarm
bash run.sh
bash run/local.sh
```
This starts the backend (port 8324), frontend (port 3000), and Electron shell together. Once running, set your Anthropic API key in the in-app Settings page.
@@ -197,9 +197,12 @@ electron/
main.js Electron main process, auto-updater, Python env management
scripts/ Build and notarization scripts
scripts/
build-app.sh Desktop app packaging (electron-builder)
build-python-env.sh Standalone Python 3.13 environment bundler
run/
utils/
build-app.sh Desktop app packaging (electron-builder)
build-python-env.sh Standalone Python 3.13 environment bundler
local.sh Start backend, frontend, and Electron shell
publish.sh Build and deploy to Firebase Hosting
```
<br>
+2 -1
View File
@@ -8,7 +8,8 @@ else
fi
chmod +x "$SCRIPT_ABSPATH"
PROJECT_ROOT="$(dirname "$SCRIPT_ABSPATH")"
RUN_DIR_ROOT="$(dirname "$SCRIPT_ABSPATH")"
PROJECT_ROOT="$(dirname "$RUN_DIR_ROOT")"
BLUE='\033[0;34m'
GREEN='\033[0;32m'
+3 -2
View File
@@ -8,10 +8,11 @@ else
fi
chmod +x "$PUBLISH_ABSPATH"
PROJECT_ROOT="$(dirname "$PUBLISH_ABSPATH")"
RUN_DIR_ROOT="$(dirname "$PUBLISH_ABSPATH")"
PROJECT_ROOT="$(dirname "$RUN_DIR_ROOT")"
cd "$PROJECT_ROOT"
echo "Building and deploying to Firebase Hosting..."
bash scripts/build-app.sh --publish
bash run/utils/build-app.sh --publish
cd -