# Complete Installation Guide: Documize Community on Ubuntu (with PostgreSQL)
-
This guide explains how to install **Documize Community** on a fresh Ubuntu Server (20.04/22.04/24.04), set up PostgreSQL, and configure everything so Documize is ready to use.
+
This guide installs **Documize Community** on a fresh Ubuntu 20.04/22.04/24.04 server, sets up PostgreSQL, and runs Documize as a systemd service. It uses Documize’s official installation approach (single binary + config file). Latest release info is referenced from Documize’s site and GitHub.
---
-
## 1. Update the system
-
Always start with the latest updates:
-
```bash
-
sudo apt update && sudo apt upgrade -y
-
```
-
<br/>
+
## 0) Basics & Assumptions
+
- You are on an **amd64/Intel** Ubuntu server with `sudo`.
+
- We will run Documize on **port 8080** and connect to a local PostgreSQL.
+
- Documize ships as a **single executable** (no installer). :contentReference[oaicite:1]{index=1}
-
## 2. Install required dependencies
-
Always start with the latest updates:
+
---
+
+
## 1) Update the system & install helper tools
```bash
-
sudo apt install -y wget curl ca-certificates tar
+
sudo apt update && sudo apt upgrade -y
+
sudo apt install -y curl wget jq ca-certificates tar
```
<br/>
-
## 3. Install PostgreSQL
-
Run this command to install PostgreSQL:
+
## 2) Install PostgreSQL and enable it
```bash
sudo apt install -y postgresql postgresql-contrib
+
sudo systemctl enable --now postgresql
+
sudo systemctl status postgresql --no-pager
```
+
<br/>
-
Enable and start PostgreSQL:
-
+
## 3) Create the Documize database and user (UTF-8)
To keep this permanent, add it to your shell profile:
+
Make it executable and owned by our system user:
```bash
-
echo 'export DATABASE_URL=postgres://docuser:StrongPasswordHere@localhost:5432/documize?sslmode=disable&client_encoding=UTF8' | sudo tee -a /etc/environment
- Configure mail (for notifications) and request a free activation key under Settings → Billing (the site’s “Get Started” pane explains the free tier). documize.com
+
+
- Put Documize behind NginxLet’s Encrypt and terminate TLS there. Back up PostgreSQL regularly (pg_dump/pg_dumpall).