Governate
Sign in Start a trial

Install Governate

One command puts the installer on your server. You choose the rest on a page, and it starts everything.

1. Point two names at your server

Governate needs two addresses: one people use, and one for the document viewer. Create a DNS record for each that points at the server, for example docs.example.com and viewer.example.com. If you use Cloudflare, set them to DNS only.

No domain yet, or an internal network? You can still install: choose your own certificate, your own proxy, or a self-signed one in step 3.

2. Get the installer

On the server, a Linux machine with Docker:

curl -fsSL https://v2.governate.com/install | sudo sh

This fetches the installer for the machine's kind of processor and puts it on the path as governate-install. sudo is needed because it puts the program into /usr/local/bin, which belongs to root. It changes nothing else. Read the script before running it if you like.

Docker not installed? On Debian and Ubuntu the script can do that too:

curl -fsSL https://v2.governate.com/install | sudo GOVERNATE_INSTALL_DOCKER=1 sh

3. Run it

sudo governate-install

sudo is there because the installer keeps the installation in /opt/governate, which belongs to root, and because it runs Docker, which on most servers only root may do. If your own user can run Docker, it works without: governate-install -dir ~/governate.

It looks at the machine, then prints an address and one ssh line. Run that line on your own computer and open the address in your browser. On the page you choose:

A panel shows what your choices cost the machine in memory and disk. Then press Install and start.

IfRun
You cannot open an SSH tunnelsudo governate-install -public serves the page at the server's own address over HTTPS
You would rather answer in a filegovernate-install -example > plan.json, edit it, then sudo governate-install -plan plan.json
You only want to know if the machine is big enoughgovernate-install -check

4. Add your licence and create the administrator

Open your address. Setup asks first for your licence: generate it in the portal and paste it in. Then create the administrator. Do this straight away, before anyone else can reach the address.

What you need

SmallestEverything on one machine
Memory4 GB4 GB works, 8 GB is comfortable
Processors22 or more
Disk10 GB and room for your files20 GB and room for your files
SystemLinux, 64-bit Intel/AMD or ARM, with Docker

Changing something later, or updating, is the same command again: sudo governate-install.

Read further