mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-11 12:17:45 +02:00
[Haik]: cleaned up running shell scripts
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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'
|
||||
@@ -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 -
|
||||
Reference in New Issue
Block a user