# Install

Choose one of the installation methods below.

In an empty directory, write the configuration file:

psap.yaml

```
db:
  path: /data/psap.db
api:
  address: 0.0.0.0
  port: 5040
```

Start Ella PSAP:

```
docker run -d --name ella-psap --network host \
  -v "$PWD/psap.yaml:/psap.yaml:ro" -v ella-psap-data:/data \
  ghcr.io/ellanetworks/ella-psap:latest
```

Install the Helm chart:

```
helm install ella-psap oci://ghcr.io/ellanetworks/charts/ella-psap \
  --namespace ella --create-namespace
```

See the [chart's values](<https://github.com/ellanetworks/psap/tree/main/charts/ella-psap>).

Install the required dependencies:

```
sudo snap install go --channel=1.27/stable --classic
sudo snap install node --channel=24/stable --classic
sudo apt update
sudo apt -y install gcc
```

Clone the Ella PSAP repository:

```
git clone https://github.com/ellanetworks/psap.git
cd psap
```

Build the frontend:

```
npm install --prefix ui
npm run build --prefix ui
```

Build Ella PSAP:

```
go build -o psap -ldflags "-s -w -X github.com/ellanetworks/psap/version.GitCommit=$(git rev-parse HEAD)" ./cmd/psap
```

Write the configuration file:

psap.yaml

```
db:
  path: psap.db
api:
  address: 0.0.0.0
  port: 5040
```

Start Ella PSAP:

```
./psap --config psap.yaml
```

Then open `http://<host-ip>:5040` in a browser.
