## Manage your time more effectively
Pomodoro.cc is an online time tracking tool to plan and review the tasks for the day.
It takes advantage of the guidelines described in the Pomodoro-technique to work more effectively with frequent, mind refreshing breaks.
With the help of insightful statistics you'll be able to better understand how much you worked on each task and how concentrated you were.
Setup a credentials.json starting from credentials.template.json and fill in your information.
You'll need to create an app for github and twitter. (If you don't want to provide them, it's fine, authentication won't work, but you need at least to create this file)
Add an entry in your /etc/hosts:
192.168.11.2 pomodoro.dev
Execute
make bootstrap
vagrant up
The vagrant box keep the following docker containers up and running:
pomodoro: nginx container that serves the static assets and proxies requests to the api containerpomodoro-api: node container that represents the apipomodoro-socket-io: node container that runs a socket.io serverredis: for the sessions shared between the two instances ofpomodoro-apimongo: db for thepomodoro-apito save pomodori of registered users
To rebuild the infrastructure run the script sh /vagrant/opt/docker.dev.sh
From the app folder:
-
to recompile the assets during development, run
gulp watch -
run the tests with
npm test -
run the end-to-end tests with
make i_web_driver(once) andnpm run e2e-test
You can run the tests with: (inside vagrant)
docker run -it --link=pomodoro-api-db-test:pomodoro-api-db christianfei/pomodoro-api sh -c 'npm install && npm test'