Skip to content

tec/caps

Repository files navigation

CAPS - capacity planner

A web app for assigning colleagues to projects

Features

The application shows a simple table. Columns are projects, rows are workers. The table shows the assignments of workers to projects in days (or hours) per week. Projects and workers can bee added and renamed. Workloads, availabilities and assignments can be edited. They are always defined for a specific week of the year and are automatically inherited to the next week(s).

Caps is not a fully fledged capacity planner but enough for my and maybe a few others' needs. If you miss a certain feature feel free to open issues or pull requests.

Installation

Caps is a standard rails 3 application. Use your preferred installation method. The following steps may help you with a local installation:

First install rvm


#!bash
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

Then checkout the project:


#!bash
git clone git@bitbucket.org:tec/capacity_planner.git

When you switch to the project dir rvm will tell you which ruby version to install, e.g.:


#!bash
cd capacity_planner
rvm install ruby-1.9.3-p125

Re-enter the dir to enable the rvm ruby version you just installed...


#!bash
cd ..
cd capacity_planner

.. and install rails dependencies:


#!bash
gem install bundler
bundle install

Create your database...


#!bash
rake db:create
rake db:migrate
# optionally load some seed data:
rake db:seed

and finally, start the server:


#!bash
bundle exec rails server

and go to http://localhost:3000/current or http://localhost:3000/next.json

License

Fork it and do whatever you want. Merge requests, feature ideas, bug reports, thank you emails are welcome.

Copyright

Silvan T. Golega