Contents
Copyright © 2019 Spartatek AB
2019-06-28 15:52
Easydoneit cli software package is released under the GNU license.
Copyright (C) 2014 Spartatek AB
contact@spartatek.se http://spartatek.se
EASYDONEIT CLI is free software: you can redistribute it and/or modify it under the terms of the GNU Genereric Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
EASYDONIT CLI is distributed in the hope that it will be usesul, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Genereral Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see GNU licenses
Easydoneit cli is a simple task manager for terminals, there are also a GUI version (Easydoneit Desktop) and a web interface (Easydoneit Web). The command line user interface is designed to be similar to git.
Key features
The image below presents an overview of the database structure. The database is arranged like a regular file system, each task has attributes to keep track of the state.
The manual describes the common use cases Easydoneit cli manual
The command edi without parameter displays the help, the help for current version is here (edi help)
This video shows how to install Easydoneit with apt (Debian/Ubuntu).
Here is a demo database with tree structures for common use. Demo Database tarball
Microsoft Windows and Unix style platforms: linux distribution, mac os x, cygwin
Version 1.19
To run edi from the tarball, python2 needs to be installed on the system.
Run in a terminal:
apt-get install snapd snap install edi alias edi=/snap/edi/current/bin/edi
For debian apt setup, add this source to your /etc/apt/sources.list:
deb http://spartatek.se/packages/ unstable/
Then:
apt-get install easydoneit
Easydoneit cli depends on python 2.7.
The Easydoneit database through many user interfaces. In the VM, three interfaces are configured:
Run tar xvjf Easydoneit_cli_vm.tar.bz2 to extract the VM.
With the 'edi html' command, an html page for a group is generated, here is the result for the demo database in the virtual machine:
Virtual Machine screenshot:
The web interface (edi web) allows users to browse an easydoneit database and show the stats of a group in a graph. The most convenient way to install edi web is to use docker.
The url for edi web is:
http://<ip>/edi_web
Slide example:
Statistics example:
Docker is a system to build containers and ship them to server. Edi web is in a docker image ready to use (edi web docker image). Below are the instructions to setup the easydoneit database for use with edi web and setup edi web's docker image. Lets assume the location of the easydoneit database is ~/easydoneit_data (default).
Easydoneit database setup:
cd ~/easydoneit_data touch stats.csv sudo chown www-data:www-data stats.csv touch stats_creation_done_inactive.csv sudo chown www-data:www-data stats_creation_done_inactive.csv
Install the docker package from apt and ship edi web's docker image (note: enter the absolute path to easydoneit_data, ie /home/<user>/easydoneit_data)
sudo apt-get install docker.io sudo docker run --name edi_web -d -p 50000:80 -p 50443:443 -v /home/<user>/easydoneit_data:/var/www/easydoneit_data remynoulin/easydoneitweb:v1.14
Then the url to edi web is:
http://localhost:50000/edi_web/ or https://localhost:50443/edi_web/
Install video showing the steps above.
The search engine used in this setup is Xapian in a docker container. With the search engine, the search results are fast and it is possible to search for complex queries: multiple words, word subtraction, boolean logic...
Steps to follow:
Install docker
Find the database location in the system
Start the search engine container
Browse to the search page
Install docker:
apt-get install docker.io
Find the database location in the system:
edi data (Selected data_location) /home/spartatek/easydoneit_data
Start the search engine container:
Replace the path after -v with your database location. sudo docker run --name xapian -p 8000:80 -v /home/spartatek/easydoneit_data/tasks:/data -d --restart=always remynoulin/ xapian-omega-alp The command for indexing the database is: sudo docker exec xapian /usr/bin/omindex --db /var/lib/omega/data/default --url http://localhost/data/ /data To update the search engine regularly, run the indexing command in a cron job: crontab -e
Browse to the search page:
http://localhost:8000/cgi-bin/omega Type a query to get search results.