Time and activity tracking web application for the rest of us.
The installation has been tested on Ubuntu 12.04 and Debian GNU/Linux 7.4 (wheezy).
apt-get update
apt-get install libxml2 libxml2-dev libxslt1-dev libcurl4-openssl-dev ruby1.9.1 ruby1.9.1-dev postgresql-9.1 libpq-dev git build-essential
Install RubyGems from https://rubygems.org. Do not use the rubygems
package from the repository as it's outdated and only works on Ruby 1.8. Then:
gem install bundler
cd /to/installation/directory
git clone https://github.com/ninech/uberzeit.git .
bundle install --without development test --deployment
cp config/database.yml.example config/database.yml
Now add a database user and adjust database.yml accordingly. Then set up the database:
RAILS_ENV=<env> bundle exec rake db:create db:schema:load db:seed
RAILS_ENV=<env> bundle exec rake assets:precompile
cp config/uberzeit.yml.example config/uberzeit.yml
cp .env.example .env
Edit .env
and change the value of SECRET_TOKEN
to a random alphanumeric string.
You could for example use pwgen -s -1 100
to generate a random string.
RAILS_ENV=<env> bundle exec thin start -e production
Now visit http://hostname:3000 and sign in with admin@example.org
, password admin
. Enjoy!
To deploy on Heroku, some modifications are required. The configuration
must also be added to the repository.
We do this using the hidden branch deploy
which will be pushed to Heroku only.
cd /to/installation/directory
git clone https://github.com/ninech/uberzeit.git .
heroku create
git checkout -b deploy
cp config/uberzeit.yml.example config/uberzeit.yml
# Edit config/uberzeit.yml to fit your needs
git add -f config/uberzeit.yml
git commit -m 'add configuration'
heroku config:set SECRET_TOKEN=`pwgen -s -1 100`
git push heroku deploy:master
heroku run rake db:schema:load db:seed
heroku open
Sign in with admin@example.org
, password admin
. Enjoy!
curl -v -H 'X-Auth-Token: YourSuperSecretToken' -X GET uberzeit.dev/api/ping
- Presence for uberZeit Mac OS X - Mac OS X menubar app to manage your uberZeit timers
- Presence for uberZeit iOS - iOS app to manage your uberZeit timer
uberZeit is released under the MIT License. See LICENSE.txt for further details.