You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42-6Lines changed: 42 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,23 +27,39 @@ A code agent task management system that provides parallel execution of AI-power
27
27
-**Agents**: Claude Code (Anthropic) with extensible support for other models
28
28
-**Task Management**: Parallel execution system based on container
29
29
30
+
## Prerequisites
31
+
32
+
- Docker and Docker Compose installed
33
+
- (Optional) Supabase account for persistent data storage
34
+
30
35
## Quick Start
31
36
32
-
1.**Setup**
37
+
1.**Clone the repository**
33
38
```bash
34
39
git clone <this-repo>
35
40
cd async-code
36
-
./build.sh
37
41
```
38
42
39
-
2.**Configure**
40
-
- Add your Anthropic API key to `server/.env`
41
-
- Get a GitHub Personal Access Token with repo permissions
43
+
2.**Create the environment file**
44
+
```bash
45
+
cp server/.env.example server/.env
46
+
```
47
+
Edit `server/.env` and set your `ANTHROPIC_API_KEY`. If you are using Supabase, also set `SUPABASE_URL`, `SUPABASE_ANON_KEY` and `SUPABASE_SERVICE_ROLE_KEY`.
48
+
49
+
3.**Build and start the stack**
50
+
```bash
51
+
docker-compose up --build -d
52
+
```
42
53
43
-
3.**Run**
44
54
- Frontend: http://localhost:3000
45
55
- Backend API: http://localhost:5000
46
56
57
+
## Supabase Setup
58
+
59
+
1. Create a new project in the [Supabase](https://supabase.com) dashboard.
60
+
2. Open the SQL editor and run `db/init_supabase.sql` to create the required tables.
61
+
3. Grab your project URL, anon key and service role key from **Project Settings → API** and place them in `server/.env`.
62
+
47
63
## Usage
48
64
49
65
1.**Setup GitHub Token**: Enter your GitHub token in the web interface
@@ -58,7 +74,15 @@ A code agent task management system that provides parallel execution of AI-power
58
74
```bash
59
75
# server/.env
60
76
ANTHROPIC_API_KEY=your_anthropic_api_key_here
77
+
78
+
# Supabase
79
+
SUPABASE_URL=https://your-project.supabase.co
80
+
SUPABASE_ANON_KEY=your_anon_key
81
+
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
82
+
83
+
# Flask configuration
61
84
FLASK_ENV=production
85
+
FLASK_DEBUG=False
62
86
```
63
87
64
88
@@ -73,6 +97,18 @@ cd async-code-web && npm run dev # Frontend
73
97
cd server && python main.py # Backend
74
98
```
75
99
100
+
## Production Deployment
101
+
102
+
1. Set `FLASK_ENV=production` in `server/.env` and export `NODE_ENV=production` before running the stack.
0 commit comments