|
1 | 1 | # Local Deployment
|
2 | 2 |
|
3 | 3 | :::info
|
4 |
| -These instructions have been tested on MacOS, Windows 10 and Ubuntu 22.04. |
| 4 | +These instructions have been tested on MacOS, Windows, Ubuntu and Fedora. |
5 | 5 |
|
6 | 6 | :::
|
7 | 7 |
|
8 | 8 | ## Setup & launch Airbyte
|
9 | 9 |
|
10 |
| -- Install `Docker Engine` and the `Docker Compose plugin` on your workstation \(see [instructions](https://docs.docker.com/engine/install/)\). |
11 |
| -- After Docker is installed, you can immediately get started locally by running: |
| 10 | +- Install `Docker Desktop` \(see [instructions](https://docs.docker.com/desktop/install/mac-install/)\). |
| 11 | +- After `Docker Desktop` is installed, you must enable `Kubernetes` \(see [instructions](https://docs.docker.com/desktop/kubernetes/)\). |
| 12 | +- Download the latest version of `abctl` from the [releases page](https://github.com/airbytehq/abctl/releases) and run the following command: |
12 | 13 |
|
13 | 14 | ```bash
|
14 |
| -# clone Airbyte from GitHub |
15 |
| -git clone --depth=1 https://github.com/airbytehq/airbyte.git |
16 |
| - |
17 |
| -# switch into Airbyte directory |
18 |
| -cd airbyte |
19 |
| - |
20 |
| -# start Airbyte |
21 |
| -./run-ab-platform.sh |
22 |
| -``` |
23 |
| - |
24 |
| -- In your browser, visit [http://localhost:8000](http://localhost:8000) |
25 |
| -- You will be asked for a username and password. By default, that's username `airbyte` and password `password`. Once you deploy Airbyte to your servers, be sure to change these in your `.env` file: |
26 |
| - |
27 |
| -```yaml |
28 |
| -# Proxy Configuration |
29 |
| -# Set to empty values, e.g. "" to disable basic auth |
30 |
| -BASIC_AUTH_USERNAME=your_new_username_here |
31 |
| -BASIC_AUTH_PASSWORD=your_new_password_here |
| 15 | +abctl local install |
32 | 16 | ```
|
33 | 17 |
|
34 |
| -- Start moving some data! |
35 |
| - |
36 |
| -## Deploy on Windows |
37 |
| - |
38 |
| -After installing the WSL 2 backend and Docker you should be able to run containers using Windows PowerShell. Additionally, as we note frequently, you will need `docker-compose` to build Airbyte from source. The suggested guide already installs `docker-compose` on Windows. |
39 |
| - |
40 |
| -### Setup Guide |
41 |
| - |
42 |
| -**1. Check out system requirements from [Docker documentation](https://docs.docker.com/desktop/windows/install/).** |
43 |
| - |
44 |
| -Follow the steps on the system requirements, and necessarily, download and install the Linux kernel update package. |
45 |
| - |
46 |
| -**2. Install Docker Desktop on Windows.** |
47 |
| - |
48 |
| -Install [Docker Desktop](https://docs.docker.com/desktop/windows/install/) from here. |
49 |
| - |
50 |
| -Make sure to select the options: |
51 |
| - |
52 |
| -1. _Enable Hyper-V Windows Features_ |
53 |
| -2. _Install required Windows components for WSL 2_ |
54 |
| - when prompted. After installation, it will require to reboot your computer. |
55 |
| - |
56 |
| -**3. You're done!** |
| 18 | +- Your browser should open to the Airbyte Application, if it does not visit [http://localhost](http://localhost) |
| 19 | +- You will be asked for a username and password. By default, that's username `airbyte` and password `password`. You can set these values through command line flags or environment variables. For example, to set the username and password to `foo` and `bar` respectively, you can run the following command: |
57 | 20 |
|
58 | 21 | ```bash
|
59 |
| -git clone --depth=1 https://github.com/airbytehq/airbyte.git |
60 |
| -cd airbyte |
61 |
| -bash run-ab-platform.sh |
| 22 | +abctl local install --username foo --password bar |
| 23 | + |
| 24 | +# Or as Environment Variables |
| 25 | +ABCTL_LOCAL_INSTALL_PASSWORD=foo |
| 26 | +ABCTL_LOCAL_INSTALL_USERNAME=bar |
62 | 27 | ```
|
63 | 28 |
|
64 |
| -- In your browser, just visit [http://localhost:8000](http://localhost:8000) |
65 |
| -- You will be asked for a username and password. By default, that's username `airbyte` and password `password`. Once you deploy airbyte to your servers, be sure to change these. |
66 | 29 | - Start moving some data!
|
67 | 30 |
|
68 | 31 | ## Troubleshooting
|
|
0 commit comments