Skip to content

Auth #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 20 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,41 +15,47 @@ The environment uses GPT4 function calling to use tools, including a `terminalSe
The webapp communicates with the environment via a Supabase `thoughts` table and Supabase's realtime system.


## install and run
## Install and run

```
### == ht ==
# Download latest ht binary from https://github.com/andyk/ht/releases/latest
# and make sure it is on your path.
Download the latest `ht` binary from https://github.com/andyk/ht/releases/latest
and add it to your `PATH`.

### == thought server ==
# in a new terminal
1. You need `python >= 3.10` since we use the `match` syntax.
2. Create or get a copy of `thinkers.yaml` and put it into `packages/thought_server/`
3. Then in a new terminal run:
```shell
cd packages/thought_server
# You need python >= 3.10 since we use the `match` syntax.
virtualenv venv
. ./venv/bin/activate
pip install -r requirements.txt
# make sure you create or get a copy of thinkers.yaml and put it into ./
. ./launch.sh
```

### == headlong UI webapp ==
By default, your webapp will connect to the main env running in EC2
via supabase realtime. If you want to override that and use a local
env, then you'll need to run the terminalServer and env locally.
We strongly recommend you run these in a docker instance.

```shell
cd packages/webapp
npm install
npm run dev

## By default your webapp will connect to the main env running in EC2
## via supabase realtime. If you want to override that and use a local
## env, then you'll need to run the terminalServer and env locally.
## We strongly recommend you run these in a docker instance.
```

### == terminal server ==
# in a new terminal
In a new terminal run:
```shell
cd packages/env
npm install
npm run terminalServer
```

### == env daemon ==
# in a new terminal
In a new terminal run:
```shell
cd packages/env
npm run env
```
Loading