DocsGetting started

Installing Allems

Allems is an app for Windows and the Mac, a server for Linux, and an app for Android phones. Install the one for the computer you work at; add a server or the phone when you want them.

While Allems is in beta, its files are downloaded from the link in your invitation. They still carry its working name: Village-Setup.exe, Village.app, Village.apk.

On Windows

  1. Download Village-Setup.exe from your invitation's link and open it.
  2. Windows may say it protected your PC, as the installer is not signed yet: More info, then Run anyway.
  3. It installs for your user only, with no administrator's password, and opens Allems. A shortcut is on the desktop and in the Start menu.

The app brings everything it runs on. It updates itself afterwards: see Updates.

On a Mac

Open Terminal and run the command from your invitation. It has this form:

curl -sSL <your invitation's address>/mac-install.sh | bash

It puts Allems in Applications and opens it. Installed this way, macOS asks nothing on the first start. Afterwards the app updates itself.

A server of your own

On a Linux machine that stays on, Allems' server runs your agents for you: you reach them from the app, a web page or your phone, at home and away. Run the command from your invitation on that machine, as the user the agents should work as:

curl -fsSL <your invitation's address>/server-install.sh | sh

It gets what the server needs (Bun, Herdr), starts the server, and has it start again with the machine. At its end it prints the login link, Open: http://…:5190/?token=…. The login link is the key to everything on the server: keep it to yourself.

Everything Allems puts on the machine is in your home folder. Only two things need root, and only once: the system's packages the server lacks (git, and unzip for Bun) and linger, which keeps the server running while nobody is logged in. When sudo asks you no password, the installer does both itself. Otherwise it stops before anything is downloaded and prints one command:

sudo sh -c 'apt-get update -qq && … && loginctl enable-linger <you>'

Run it, then the install command again.

  • Run the installer in your own login, over ssh, not by su or sudo -u: it needs your user's own systemd.
  • Lost the link? journalctl --user -u village-server shows it again.
  • Run the command again to put the newest version in place. The server also updates itself: see Updates.

Install your agents on the server too: Allems starts them where its server runs (Installing an agent).

From another computer

  • A web page: open the login link in a browser. The page is the app, in the browser.
  • The app: on its first screen Connect to a server, or later Server: … in the … menu in the window's corner, then +. Paste the login link, or the server's address, and give the server a name. The list of servers then shows it under This PC (or This Mac), with what waits on each; a click switches to it.

On your phone

  1. Download Village.apk from your invitation's link on the phone and open it.
  2. Android asks whether to install apps from that source: allow it, then Install.
  3. Open Allems and connect it to your computer or server: see Allems on your phone.