-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update readme for easier local setup
- Loading branch information
Showing
5 changed files
with
28 additions
and
9 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,9 +1,29 @@ | ||
# Agentboard | ||
Agentboard is a project that allows you to use Open Interpreter in your browser. | ||
|
||
## How to run repo | ||
It's made with [E2B's sandbox](https://e2b.dev). Inside the sandbox, we use [Open Interpreter](https://openinterpreter.com/) to run code. | ||
|
||
1. Make sure you have the correct `.env` file in both `backend` and `frontend` folders. | ||
2. Run `make run` | ||
3. Once you want to stop the services, run `make stop` | ||
## Free hosted version | ||
[agentboard.dev](https://agentboard.dev) | ||
|
||
|
||
## How to run app locally | ||
|
||
**Requirements** | ||
- Supabase project | ||
- Your Supabase project needs to have enabled [GitHub and Google auth providers](./supabase-auth.png) | ||
- [Poetry](https://python-poetry.org/) | ||
|
||
### Steps | ||
**Frontend** | ||
1. Copy `frontend/.env.example` to `frontend/.env` and set the correct env vars | ||
1. Go to `frontend` | ||
1. Install dependencies `pnpm i` | ||
1. Start frontend `pnpm dev` | ||
|
||
**Backend** | ||
1. Copy `backend/.env.example` to `backend/.env` and set the correct env vars | ||
1. Install dependencies `poetry install` | ||
1. Active poetry environment `poetry shell` | ||
1. Start backend `poetry run python backend/main.py` | ||
|
||
You can also run each service locally, you can find more information in the README.md file in each service folder. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[tool.poetry] | ||
name = "agentboard-backed" | ||
name = "agentboard-backend" | ||
version = "0.1.0" | ||
description = "" | ||
authors = ["Jakub Novak <[email protected]>"] | ||
|
@@ -23,4 +23,3 @@ black = "^24.3.0" | |
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.