Raspberry Pi – Manage your tasks with Tracks

When you hold a blog, that you work, etc. you still have a long list of things to do. Today we are going to install the miracle tool, who will remove you all the stress by using the method “Getting Things Done” : Tracks !

tracks-logo-darkGood after this introduction worthy of a vacuum cleaner salesman who will revolutionize the world, turn to the real things.

The method “Getting Things Done” will allow you to manage all of your following tasks of the priorities that will constantly adapt to your availability, your criteria for priorities, etc. all depending on what is actually feasible at the time where you want to perform an action.

The tool Tracks will allow you to manage everything on a tool with a Web interface.

  1. Update of the system
    apt-get update && apt-get -y upgrade
  2. Download Tracks. The current version is the 2.2.2 at the time of the writing of the article.
    wget https://github.com/TracksApp/tracks/archive/v2.2.2.zip unzip v2.2.2.zip cd tracks - 2.2.2
  3. The database will be SQLite for performance reasons.
    Install SQLite.

    apt - get install sqlite
  4. Configure Tracks to use a SQLite database
    db cp tracks - tracks - pod.sqlite3.db cd blank.sqlite3.db CD.../ config cp database.yml.tmpl database.yml

    Now we have to edit the datables.yml file to point to our new base. You can empty the entire file and paste in the following code :

    adapt: SQLite3 database: DB/tracks-pod.SQLite3.DB pool: 5
    timeout: 5000
  5. Install additional tools needed for the proper functioning of Tracks. It must go through several steps
    • Install Ruby
      apt-get install -y ruby build-essential libgemplugin-ruby
    • Install RubyGems 1.8.25
      CD wget http://rubyforge.org/FRS/download.php/76729/RubyGems-1.8.25.tgz tar zxvf rubygems - 1.8.25.tgz cd rubygems - 1.8.25 ruby./setup.rb cd ..
      rm - rf rubygems - 1.8.25

      Execution of the command

      gem - version

      should return you 1.8.25

    • Install Bundler tool Ruby gem
      gem install bundler
    • Return to the directory containing Tracks and install the dependencies
      CD cd tracks - 2.2.2

      Edit the file Gemfile by replacing the https by http in the first line.
      Run the following commands :

      apt - get install ruby-dev-libxslt-dev libxml2-dev libmysql-ruby libmysqlclient-dev libsqlite3-ruby libsqlite3-dev bundle install--without development,test

      Be patient it is relatively long … really long (especially the compilation of libv8)

  6. Change the settings of the site file
    CD config cp site.yml.tmpl site.yml

    In the site.yml file, We need to change the following attributes :
    Salt : a string to encrypt your data
    admin_email : the Administrator's email address
    time_zone : the timezone of the site

  7. You then prepare the latest packages …
    bundle exec rake assets:precompile
  8. … and the database
    bundle exec rake db:migrate RAILS_ENV = production
  9. Edit the file config/environments.production.RB with line
    config.serve_static_assets = true
  10. You can now test the tool with the built-in Server :
    bundle exec rails server e production

    You should then have a set of messages :

    => Booting WEBrick => Rails 3.2.13 application starting in production on
    => Call with-d to detach => CTRL-C to shutdown server
  11. Connect you on the tool via its URL :

    By replacing by the IP or domain of your Pi Raspberry
    tracks-1You can now create an administrator account.

Here is the final interface :

tracks-2I'll let you read the help on the home page of Tracks to better understand the functioning, the relationships between projects, tasks, contexts, etc.

For those who wish not to use the embedded Web server but an external server like Nginx, c’est dans un prochain article 🙂


You may also like...