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
+29-71Lines changed: 29 additions & 71 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,43 +61,22 @@ Visitran is an **open-source** data transformation tool that supports **no-code*
61
61
62
62
## Getting Started
63
63
64
-
Choose your preferred installation method:
65
-
66
-
-[Docker Compose](#option-1-docker-compose) — Recommended for quick evaluation
67
-
-[Direct Installation (localhost)](#option-2-direct-installation-localhost) — For development and customization
68
-
69
-
### Option 1: Docker Compose
70
-
71
-
The fastest way to get Visitran running. Requires [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/).
64
+
Requires [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/).
|`VISITRAN_RSA_PRIVATE_KEY`| Provided | Generate a 2048-bit RSA key pair (see `sample.env` for the command) |
89
-
|`VISITRAN_RSA_PUBLIC_KEY`| Provided | Derived from the private key above |
90
-
|`VISITRAN_AI_KEY`| Empty | Optional — get from [app.visitran.com](https://app.visitran.com) to enable AI features |
91
-
92
-
> **Note:** The sample.env is pre-configured for Docker — `DB_HOST=postgres` and `REDIS_HOST=redis` point to the Docker Compose service names. No hostname changes needed. You can run `docker compose up --build -d` immediately after copying.
93
-
94
-
```bash
95
-
# Build and start all services
96
70
cd docker
97
71
docker compose up --build -d
98
72
```
99
73
100
-
This starts:
74
+
Open [http://localhost:3000](http://localhost:3000) and **Sign Up** to create your account — that's it!
75
+
76
+
> **AI Features (optional):** Get an API key from [app.visitran.com](https://app.visitran.com) and add `VISITRAN_AI_KEY=vtk_...` to `backend/.env`, then restart with `docker compose restart backend`.
77
+
78
+
<details>
79
+
<summary><strong>Services started by Docker Compose</strong></summary>
101
80
102
81
| Service | Port | Description |
103
82
|---------|------|-------------|
@@ -108,23 +87,27 @@ This starts:
108
87
| Celery Worker | — | Background job processing |
109
88
| Celery Beat | — | Scheduled task processing |
110
89
111
-
Open `http://localhost:3000` in your browser.
90
+
To stop: `docker compose down`
91
+
To stop and delete all data: `docker compose down -v`
112
92
113
-
**First-time setup:** On first launch, click **Sign Up** to create a local admin account. There is no default username/password — you set your own credentials during signup.
|`SECRET_KEY`| Yes | Default provided — replace in production |
153
-
|`VISITRAN_ENCRYPTION_KEY`| Yes | Default provided — replace in production |
154
-
|`DB_HOST`| No | Leave **empty** for SQLite (no PostgreSQL needed), or `localhost` if you have PostgreSQL running |
132
+
|`DB_HOST`| No | Leave **empty** for SQLite, or `localhost` for local PostgreSQL |
155
133
|`REDIS_HOST`| Yes |`localhost`|
156
-
|`DB_SAMPLE_HOST`| No |`localhost` (to enable sample project — requires PostgreSQL) or leave empty to skip |
134
+
|`DB_SAMPLE_HOST`| No |`localhost` (requires PostgreSQL) or leave empty to skip |
157
135
158
-
> **Important for localhost:** Change `DB_HOST=postgres` → `DB_HOST=` (empty for SQLite) or `DB_HOST=localhost` (for local PostgreSQL). Change`REDIS_HOST=redis` → `REDIS_HOST=localhost`.
0 commit comments