Skip to content
Browse files

Fix creation of Docker image, extend documentation accordingly

  • Loading branch information...
ad-si committed Jul 14, 2019
1 parent 08c0d6f commit fa4cad33fff64b97791883301707430318635b00
@@ -1,9 +1,8 @@




@@ -1,10 +1,17 @@
from haskell:8.6.5 as builder

add tasklite-core tasklite-core
add tasklite-app tasklite-app
copy docker-stack.yaml stack.yaml

add stack.yaml stack.yaml
run stack install tasklite-core
copy tasklite-core/package.yaml tasklite-core/package.yaml
run stack install --only-dependencies tasklite-core

# from alpine:3.9.4
# copy --from=builder /usr/root/.local/bin/tasklite .
copy tasklite-core tasklite-core
run stack install

from debian:9.9
run apt-get update && \
apt-get install -y libgmp10
copy --from=builder /tasklite-core/example-config.yaml /root/.config/tasklite/config.yaml
copy --from=builder /root/.local/bin/tasklite /usr/local/bin/tasklite
cmd ["tasklite"]
@@ -0,0 +1,13 @@
resolver: lts-13.27
- tasklite-core

- beam-sqlite-
- beam-core-
- beam-migrate-
- crockford-0.2
- fuzzy-
- ulid-
- github: JakeWheat/simple-sql-parser
commit: 00433a26e8303c9e61359f406da5a2dbf1293fc8
@@ -1,14 +1,23 @@
# Summary

- [Introduction](./
- [Installation](./

- [Installation](./installation/
- [CLI](./installation/
- [Desktop App](./installation/
- [Web App](./installation/

- [Usage](./usage/
- [CLI](./usage/
- [Desktop App](./usage/
- [Web App](./usage/
- [REST API](./usage/
- [Haskell API](./usage/

- [Differences to Taskwarrior](./

- [Performance](./

- [Development](./

- [Related](./
@@ -23,7 +23,12 @@ Main technologies:

### Generate Screenshot
**Check out the [makefile] for all development tasks**


## Generate Screenshots

Use asciinema to generate the terminal recording:

@@ -66,20 +71,7 @@ svg-term \

## Documentation

Build the documentation with following command:

docker run \
--rm \
--volume "$PWD":/data \
hrektts/mdbook \
mdbook build

### Ghcid
## Ghcid

Ghcid with color output for GHC 8.4 (probably obsolete in 8.6):

@@ -89,7 +81,7 @@ ghcid \

### Hlint
## Hlint

hlint \

This file was deleted.

@@ -0,0 +1,66 @@
# CLI Tool

## Configuration

It's a good idea to create a config file
at `~/.config/tasklite/config.yaml` first.

Check out the [example config file] for infos about available settings.

[example config file]:

## From Source

To build TaskLite from source, you need [Stack].


git clone
cd TaskLite
stack install tasklite-core

To test the installation run:

tasklite version

## With Docker

If you just want to try it out run:

docker run --rm adius/tasklite sh
tasklite help

When exiting the container all data will be discarded.

For repeated local usage run following command,
but make sure to replace `$TASKLITE_PATH` with the path to your
TaskLite installation as defined in your `config.yaml` file.
Per default it's created in the [XDG base directory]:

[XDG base directory]:

docker run \
--rm \
--volume "$TASKLITE_PATH":/root/.local/share/tasklite \

To make it easier to use, create an alias like:

alias tl="docker run …"

Providing your own `config.yaml` file to the docker container
is not yet supported.
@@ -0,0 +1,44 @@
# Desktop App

## Native GTK App

**Attention: This is still early alpha**

A few dependencies must be availabe to build the app.
To install them on macOS run:

brew install \
gtk+3 \
libffi \
gobject-introspection \

git clone
cd TaskLite
stack install tasklite-app

It might be necessary to add the package "libffi" to the pkg-config search path
before installation.
For example with [fish]:
set -x PKG_CONFIG_PATH /usr/local/opt/libffi/lib/pkgconfig

Start it with:


## DB Browser for SQLite

Alternatively you can use the [DB Browser for SQLite]
to view and modify your tasks directly in the SQLite database.

[DB Browser for SQLite]:
@@ -0,0 +1,4 @@
# Installation

Check out the following pages for instructions
on how to install the different versions of TaskLite.

0 comments on commit fa4cad3

Please sign in to comment.
You can’t perform that action at this time.