-
Notifications
You must be signed in to change notification settings - Fork 15
Setting up Taskboard
rakk edited this page Sep 13, 2010
·
40 revisions
Currently we only support install instructions for Linux machines (tested on Ubuntu) as some required Ruby native extensions (juggernaut) do not work well on Windows.
The guide is prepared for Ubuntu (Debian). If you have a different distribution of Linux you have to change the command “sudo aptitude install” with the specific for your OS.
You can skip these steps if you have all the required software installed already.
As Taskboard is a Ruby on Rails application you need to have Ruby and Rails installed on your machine.
- Install Ruby (recomended version is 1.8.7)
sudo aptitude install ruby ruby-dev libopenssl-ruby rdoc
- Download Ruby Gems from here and install it ( >= 1.3.2, recomended version is 1.3.5)
Change ‘x’ below to your version number
tar xvfz rubygems-1.3.×.tgz
cd rubygems-1.3.x
sudo ruby setup.rb
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem - Install Rails gem
sudo gem install -v=2.3.5 rails
Taskboard also needs some database to keep it’s data in, so you will need to set-up one also. By default we use MySQL but any database that works with Rails will be OK.
- To install MySQL will all needed stuff:
sudo aptitude install mysql-server mysql-client libmysqlclient15-dev
- To install MySQL support for Ruby:
sudo gem install mysql
To install some gems you will need build tools
sudo aptitude install build-essential
To download the source directly from repository you will need Git installed
sudo aptitude install git-core
- Download the source from GitHub or clone repository
git clone git://github.com/CognifideLabs/taskboard.git
- Go to taskboard directory (all the commands below should be run from there)
cd taskboard
- Create configuration files
cp config/database.example.yml config/database.yml
cp config/juggernaut.example.yml config/juggernaut.yml
cp config/juggernaut_hosts.example.yml config/juggernaut_hosts.yml
cp config/taskboard.example.yml config/taskboard.yml - Read and edit configuration for juggernaut server
gedit config/juggernaut.yml
- Read and edit configuration between rails application and juggernaut server
gedit config/juggernaut_host.yml
- Taskboard allows to import tasks directly from JIRA, to use that feature you need to specify url, username and password:
gedit config/taskboard.yml
- Install all plugins
sudo rake gems:install
- Make sure that details in
config/database.ymlare correct (database hosts, logins, passwords, etc) - Run scripts to create databases
rake db:create:all
- Run all migrations to prepare databases
rake db:migrate
- Run juggernaut server
juggernaut -c config/juggernaut.yml
- Run Taskboard server in new terminal
script/server
- Launch your browser and open address: localhost:3000
- Default user and password is
taskboard/taskboard - Have fun!