about summary refs log blame commit diff stats
path: root/README
blob: 4fa56defd20902c13b2eb7a5324fa0a0c53c6034 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                          


                                       





                                                          
               

             

 
                                                              

                                                                     
 


                                                     
 
 

                                          
 
                 
                          

                                                       
     


                                        



                                              
                       
                 

 
           

                                 

                                                                   
                 

                                                          
     


                                                                        


                 
      




                                                                    
                                                           








                                                                         
                               ━━━━━━━━━
                                  LEO

                                Andinus
                               ━━━━━━━━━


Table of Contents
─────────────────

1. Installation
.. 1. OpenBSD
2. Demo


Leo is a simple backup program. It creates tar(1) files from a
pre-defined list. It can encrypt/sign files with gpg2(1) & sign files
with signify(1).

• Web-site: <https://andinus.nand.sh/leo>
• Source: <https://git.tilde.institute/andinus/leo>
• Source (mirror): <https://github.com/andinus/leo>


1 Installation
══════════════

  ┌────
  │ # Clone the project.
  │ git clone https://git.tilde.institute/andinus/leo
  │ cd leo
  │
  │ # Install dependencies with cpanm.
  │ cpanm --installdeps .
  │
  │ # Copy the config.
  │ cp share/leo.conf $HOME/.config/leo.conf
  │
  │ # Copy the script & make it executable.
  │ sudo make install
  └────


1.1 OpenBSD
───────────

  Clone & copy the config as shown above, then run these to install
  dependencies & leo.
  ┌────
  │ # Install all the dependencies. (OpenBSD)
  │ doas pkg_add p5-IPC-Run3 p5-Config-Tiny p5-Path-Tiny
  │
  │ # The man-path `/usr/local/share/man` is not indexed by default on
  │ # openbsd. Using the `/usr` prefix works around this issue.
  │ doas make PREFIX=/usr install
  └────


2 Demo
══════

  It's very easy to setup `leo', I made a demo video to show this. I
  already have Perl environment setup for this.

  *Note*: Leo has changed *a lot* since this was published.

  • Leo 2020-08-31: <https://asciinema.org/a/F97hVfgXDcd9g5IlST1t27ps3>

  You can also download the [cast file] directly & play it with
  `asciinema'.


[cast file]
<https://andinus.nand.sh/static/leo/2020-08-31_leo-demo.cast>