Skip to content

08. Usage

gabriel edited this page Jan 27, 2024 · 2 revisions

Usage

To run Task Tempus, ensure that you have Ruby installed on your machine. If you don't have Ruby installed, follow the instructions below based on your operating system:

  • Windows:

  • Mac:

    • Mac computers typically come with Ruby pre-installed. However, you can use Homebrew to install or update Ruby.
    • Open your terminal and run:
      brew install ruby
  • Linux (Using ASDF):

    • Install ASDF version manager, if you haven't already.

      git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.1
      echo ". $HOME/.asdf/asdf.sh" >> ~/.bashrc
      echo ". $HOME/.asdf/completions/asdf.bash" >> ~/.bashrc
      source ~/.bashrc
    • Install the ASDF Ruby plugin:

      asdf plugin add ruby
    • Install a specific version of Ruby using ASDF. For example, to install Ruby 3.0.1:

      asdf install ruby 3.0.1

      Ensure that you set this Ruby version as the global version or specify it for the Task Tempus project:

      asdf global ruby 3.0.1

Once Ruby is installed, follow these steps to run Task Tempus:

  • Clone the Task Tempus repository to your local machine:
    git clone https://github.com/gxolivei/task-tempus.git
    cd task-tempus
    ruby main.rb
    

Follow the on-screen prompts to provide necessary information for the countdown, including your name, the task, available time in hours, and custom completion percentages.

Enjoy using Task Tempus to manage your time effectively!

Clone this wiki locally