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
-**Docker**: For containerization and dependencies (CockroachDB, MinIO, )
19
+
-**Docker Compose**: For orchestration
20
+
-**Make**: For running standard commands
21
+
-**Lefthook**: For git hooks (optional but recommended)
22
+
23
+
## Getting Started
24
+
25
+
### 1. Environment Setup
26
+
27
+
1. Clone the repository.
28
+
2. Ensure you have the necessary environment variables set. Refer to `docker-compose.yaml` for required keys (e.g., `DATABASE_URL`, `JUPYTER_GATEWAY_URL`).
29
+
*Note: The project uses `godotenv` to load environment variables from a `.env` file in development.*
30
+
31
+
### 2. Running Dependencies
32
+
33
+
Start the supporting services (Database, Object Storage, Jupyter Gateway, etc.):
34
+
35
+
```bash
36
+
make docker-up
37
+
```
38
+
39
+
or
40
+
41
+
```bash
42
+
docker-compose up --build
43
+
```
44
+
45
+
46
+
This will spin up CockroachDB, MinIO, Jupyter Gateway, and Python Runner as defined in `docker-compose.yaml`.
47
+
48
+
### 3. Local Development
49
+
50
+
To run the controller service locally:
51
+
52
+
```bash
53
+
# Install tools and git hooks
54
+
make setup
55
+
56
+
# Build and run the application
57
+
make run
58
+
```
59
+
60
+
The service will start on port `8080` (default).
61
+
62
+
## API Documentation
63
+
64
+
-**HTTP API**: Versioned under `/api/v1/`. Defined in `routes/api.go`.
0 commit comments