-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: run abilities code in a Docker container (#100)
- Loading branch information
Showing
13 changed files
with
379 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,37 @@ | ||
# StarfleetAI Bridge | ||
|
||
Bridge is a self-contained fully-featured IDE for building and running autonomous AI agents. | ||
Bridge is a self-contained, fully-featured IDE for building and running autonomous AI agents. | ||
|
||
## Download | ||
|
||
You can download the latest version of Bridge from the [releases page](https://github.com/StarfleetAI/bridge/releases). | ||
|
||
### Fixing "App is damaged and can't be opened" error on macOS | ||
|
||
This error occurs because the app is not yet signed. To fix it, run the following command: | ||
|
||
```shell | ||
xattr -cr /Applications/Bridge.app | ||
``` | ||
|
||
## Development Setup | ||
|
||
0. Ensure you have Rust, `tauri-cli` and pnpm installed locally | ||
1. Clone the repository | ||
2. Prepare config file | ||
1. Ensure you have Rust, Docker, `tauri-cli` and pnpm installed locally | ||
2. Clone the repository | ||
3. Prepare config file | ||
|
||
```shell | ||
cp src-tauri/.env{.example,} | ||
``` | ||
|
||
3. Run the application | ||
4. Run the application | ||
|
||
```shell | ||
SQLX_OFFLINE=true cargo tauri dev | ||
``` | ||
|
||
The `SQLX_OFFLINE=true` is only required for the cold start, since we have the `DATABASE_URL` set in `.env`, which forces SQLx to build against the databse it points to. | ||
The `SQLX_OFFLINE=true` is only required for the cold start, since we have the `DATABASE_URL` set in `.env`, which forces SQLx to build against the database it points to. | ||
|
||
## Vue DevTools | ||
### Vue DevTools | ||
|
||
Just run `pnpm devtools` and enjoy! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.