/time-tracker

a simple time-tracker that allows you to track your time on a task with database support so you don't loose them.

Primary LanguagePHPMIT LicenseMIT

Time Tracker

Engineered with <3 by April Mintac Pineda

About

Time Tracker is a web based app that allows you to track your time on a specific task. It has database support so you don't loose your tasks, you can also put them in a collection.

Please note that currently, the project is not yet 100% usable. You can view the progress of this project at https://trello.com/b/EQM9akKz.

Technologies used

please refer to the package.json and composer.json.

Installation

Prerequisites

you'll need PHP.

you'll need SQLITE3 driver.

For linux users:

sudo apt-get install php7.0-sqlite3

For windows users, you don't have to install anything.

VHost

You can also set it up with a virtual host if you constantly use it.

Step 1

Open CMD/Terminal and follow these instructions:

cd to/wherever/you/want
git clone https://github.com/aprilmintacpineda/time-tracker.git

Once that's done, a folder called time-tracker will be created for you, this folder will contain the app itself.

Step 2

Create a file called database.sqlite in time-tracker/database folder.

Step 3

Install dependencies.

// php dependencies
composer install
composer run post-root-package-install
composer run post-create-project-cmd
// javascript dependencies
npm install
// make sure that things are good
npm run test
// if the test does not show any failure, continue
// else open an issue on the repository and copy paste the result.
npm run build:production
php artisan migrate

Step 4

Open .env file and update the APP_TIMEZONE to whatever timezone you are in. By default, it's set to Asia/Manila. I recommend using https://timezonedb.com/time-zones to search for the timezone that's right for you.

Step 5

Use it.

Don't do this if:

Do this if:

  • You're having trouble setting it up on a vhost.
  • You're having trouble opening it with XAMPP.
// this will create a server on localhost:8000
php artisan serve

I hope you find it useful! :-)

Feedback

  • For a more private discussion, message me on my linkedin account.
  • For bug reports, glitches, questions, feature requests, etc., feel free to open an issue on this repo.

Other links