Install
1. The installer
Section titled “1. The installer”On your machine (Linux, macOS or the Ubuntu terminal in WSL):
curl -fsSL https://raw.githubusercontent.com/andamio-me/andamio/main/install.sh | shIt’s short: read it first if you prefer. It does the same as this, by hand:
git clone https://github.com/andamio-me/andamio.git ~/andamio~/andamio/bin/andamio setup2. andamio setup
Section titled “2. andamio setup”The first thing it asks is what you want to do:
- Only lock down my VPS. It installs just what’s needed (git, ssh and Ansible), creates
your copy of andamio only on your machine (for example
~/my-andamio) and goes straight on toandamio security. No GitHub account or repos. If one day you want the platform, runandamio setupinside your copy: it connects it to GitHub (a new private repo, with what you’ve already done) and you go on withandamio init. - Full andamio. What follows.
Runs once and asks before installing each thing:
- Installs git, gh, sops, age and Ansible with their collections. sops is verified against its checksum.
- Sets your git identity.
- Logs you into GitHub (
gh auth login) with an SSH key, and pins GitHub’s official keys so nobody can impersonate it. - Creates your private copy of andamio from the template, in your account, and clones
it (for example into
~/my-andamio). - Installs the
andamiocommand in~/.local/bin, to use it from any folder.
3. andamio init
Section titled “3. andamio init”Inside your copy:
cd ~/my-andamioandamio initGuided questions, one at a time, validated on the spot:
- your server’s IP and domain;
- the name of the Linux user andamio creates for you on the server, and the SSH port you’ll use (not 22);
- your GitHub user or organization;
- the HTTPS mode:
http(Let’s Encrypt, the default),cloudflare(wildcard via DNS) orcustom(your own certificate), and your email for Let’s Encrypt notices; - the monitoring level:
auto,minimoorcompleto.
It creates your configuration in ansible/group_vars/all.yml, an encryption key (age) that
lives only on your machine and the platform’s secrets, encrypted. It doesn’t touch any
server.
At the end it shows the ports to open in your provider’s firewall. Push it:
git add -A && git commit -m "andamio: my server" && git pushContinue with Your server.