mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-25 02:06:10 +01:00
Totaly new Docker container with automated build.
parent
a392fab39e
commit
efe6d0f35a
2 changed files with 25 additions and 35 deletions
25
Docker and Tracks 2.2.3.md
Normal file
25
Docker and Tracks 2.2.3.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
Tracks
|
||||
======
|
||||
|
||||
Tracks is a web-based application to help you implement David Allen’s Getting Things Done™ methodology. It was built using Ruby on Rails.
|
||||
|
||||
This is the easy way getting up and running with Tracks, which is one of the greatest software implementations of the GTD™ mythology.
|
||||
|
||||
This builds main parts are:
|
||||
|
||||
- Ubuntu 14.04
|
||||
- Tracks 2.2.3
|
||||
- Apache 2 (Passenger)
|
||||
- Sqlite3
|
||||
- Dockerize (Utility to simplify running applications in docker containers)
|
||||
|
||||
It utilizes mostly native Ubuntu 14.04 packages, thus rebuilding it will provide the latest updates.
|
||||
|
||||
For production use it is highly recommended to update the `site.yml.template` within the build repo, rename it to `site.yml` then rebuild the container.
|
||||
|
||||
Examples on how to run the Tracks container:
|
||||
|
||||
`docker run -d --name=tracks -p 80:80 staannoe/tracks`
|
||||
|
||||
References:
|
||||
http://www.getontracks.org/
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
## Introduction
|
||||
Docker is an open-source project to easily create lightweight, portable, self-sufficient containers from any application. This enables you to get an instance of Tracks up and running in a short amount of time. Docker can run on any Linux flavor with a recent kernel (3.8).
|
||||
|
||||
## Prerequisites
|
||||
You will need a host with a running docker installation. This guide will not cover installation of docker since that i well documented other places: http://www.docker.io/gettingstarted/#h_installation
|
||||
|
||||
## Installation
|
||||
Log on to your host with a running Docker installation and pull the Tracks image for the Docker Index by running the following command:
|
||||
`root@dockerhost# docker pull staannoe/getontracks`
|
||||
|
||||
Observe that docker starts to download the Docker tracks image. The might take some time depending on your Internet bandwidth.
|
||||
|
||||
When the image has finished downloading, you can verify that it is available by issuing the command:
|
||||
|
||||
`root@docker# docker images`
|
||||
|
||||
Now you can start Tracks on port 8080 on your host simply by issuing the following command:
|
||||
|
||||
`root@docker# docker run -d -p 8080:3000 staannoe/getontracks:v2.2.2`
|
||||
|
||||
or a more extensive version:
|
||||
|
||||
`root@docker# docker run -d -p 8080:3000 -w /var/tracks staannoe/getontracks:v2.2.2 bundle exec rails server -e production`
|
||||
|
||||
Now you should be able to access Tracks on the url:
|
||||
|
||||
http://\<yourhostaddess\>:8080
|
||||
|
||||
## Other useful info
|
||||
You can learn more about the image on the Docker Index:
|
||||
http://index.docker.io/u/staannoe/getontracks/
|
||||
|
||||
Getting started with Docker:
|
||||
|
||||
http://www.docker.io/gettingstarted
|
||||
Loading…
Add table
Add a link
Reference in a new issue