The todogo application (todo
program) is written with the langage
go (https://golang.org). You first need to install go and basic
development tools (git, make). You are supposed here to be sudoers or
to be able to make this software programs installed on your hosts:
$ sudo apt-get install git
$ sudo apt-get install make
$ sudo apt-get install golang
Then you can clone the source files and build the todo
executable
program:
$ git clone https://gitlab.galuma.net/guiboule/todogo.git
$ cd todogo
$ make
$ make test
$ sudo make install
This last command install the executable program todo
in the
$PREFIX/bin
where PREFIX default to /usr/local
.
If you need to install todogo in another folder, replace with:
$ PREFIX=/path/to/my/installdir make install
If /usr/local/bin
(more generally $PREFIX/bin
) is in your
PATH, then you are ready to start with todogo.
This minimalist docker file can be used to create an ubuntu image containing an installation of todogo. It is created only to show and test the minimal software configuration required to work with todogo:
FROM ubuntu
RUN apt-get update && apt-get upgrade -y && \
apt-get install -y git && \
apt-get install -y make
RUN apt-get install -y golang
RUN git clone https://gitlab.galuma.net/guiboule/todogo.git && \
cd todogo && make install