This installs (the old, 2.6.0) taskwarrior and taskwarrior server for you on an Ubuntu device (or on Windows with the WSL app, I did not try Mac yet.) with 2 simple commands. In my experience Taskwarrior (and Timewarrior) are increadibly powerfull tools to monitor and improve your effectiveness in many aspects of life, yet I found setting it up a bit challenging, so I automated the procedure.
After running this, vscode would not launched, which was resolved by running:
sudo chmod 755 /var
Thanks to this answer.
- Contribute to the self-hosted GitLab CI on it over here which I would like to run on this repo.
- After CI works, I would like to refactor this repo using this template.
Run the Taskwarrior installer from the root of this repository with:
git clone git@github.com:HiveMinds/tw-install.git install
cd install
chmod +x tw-install.sh
./tw-install.sh
That's it, you can now add tasks with: task add make pancakes
and sync it with your own taskwarrior server with: task sync
:)
Uninstall taskwarrior and taskserver it with:
chmod +x tw-uninstall.sh
./tw-uninstall.sh
(Currently) you have to reboot the system before you install it again using the tw-install.sh
file.
docker build -t tw-install .
docker run \
-p 53589:53589 \
-e TW_USERNAME=First \
-e TW_ORGANISATION=Public \
--name tw-instance \
-d \
tw-install
First install the required submodules with:
cd ~/.task
git clone git@github.com:HiveMinds/tw-install.git install
cd install
rm -r test/libs/*
chmod +x install-bats-libs.sh
./install-bats-libs.sh
Next, run the unit tests with:
chmod +x test.sh
./test.sh
Note: Put your unit test files (with extention .bats) in folder: /test/