Public Repository

Last pushed: a year ago
Short Description
Timax - Timetracking and project management
Full Description

Install Timax on your server:

Database:

 docker run --name timax-mysql -e MYSQL_ROOT_PASSWORD=password -d mysql:latest

Pull this repo:

docker pull timax/timax-app

Run Timax (with the database above):

docker run --name timax --link timax-mysql:mysql -p 8080:3000 -d timax/timax-app

Get Docker Container ID:

docker ps -a

Go to bash of Timax. Replace <container> with the ID you got previously:

docker exec -i -t <container> /bin/bash

Migrate the databse and seed it with demo data:

bundle exec rake db:create db:migrate db:seed RAILS_ENV=development

You can reach Timax on http://your-url:8080
Login with the demo data:
User: admin@timax.de
Password: adminn

Update an existing Timax on your server:

Get Docker Container ID:

docker ps -a

stop the running container, replace <container> with the ID you got previously:

docker stop <container>

Either delete or rename the old container:

docker stop <container>

Pull the newest image of this repo:

docker pull timax/timax-app:latest

Run Timax with the old database:

docker run --name timax --link timax-mysql:mysql -p 8080:3000 -d timax/timax-app

Get Docker Container ID:

docker ps -a

Go to bash of Timax. Replace <container> with the ID you got previously:

docker exec -i -t <container> /bin/bash

Migrate the existing database:

bundle exec rake db:migrate RAILS_ENV=development

You will keep all the old data stored in the database image.

Docker Pull Command
Owner
timax

Comments (0)