m (→Set up QA Reports: More dependencies are needed to get gems installed) |
m (→Set up QA Reports: Rack installation manually first makes qa-reports bundling work, it seems) |
||
| Line 22: | Line 22: | ||
# Install preqrequisites: <tt>$ sudo apt-get install libmysqlclient-dev libxml2-dev libxslt1-dev</tt> | # Install preqrequisites: <tt>$ sudo apt-get install libmysqlclient-dev libxml2-dev libxslt1-dev</tt> | ||
# Create database config to <tt>qa-reports/config/database.yml</tt> (example exists by name <tt>database.example.yml</tt>) | # Create database config to <tt>qa-reports/config/database.yml</tt> (example exists by name <tt>database.example.yml</tt>) | ||
| - | # | + | # Install gem <tt>rack</tt> to get what's needed to be able to use the git version: <tt>$ gem install rack</tt> |
| - | + | ||
| - | + | ||
Follow the instructions then from <tt>qa-reports/README.creole</tt>: | Follow the instructions then from <tt>qa-reports/README.creole</tt>: | ||
| Line 31: | Line 29: | ||
# <tt>$ gem install bundler --no-ri --no-rdoc</tt> | # <tt>$ gem install bundler --no-ri --no-rdoc</tt> | ||
# <tt>$ bundle install --without staging production</tt> | # <tt>$ bundle install --without staging production</tt> | ||
| - | |||
# <tt>$ rake db:create</tt> | # <tt>$ rake db:create</tt> | ||
# <tt>$ rake db:migrate</tt> | # <tt>$ rake db:migrate</tt> | ||
## Failed, but after rerun worked | ## Failed, but after rerun worked | ||
# Start the server: <tt>$ rails server</tt> | # Start the server: <tt>$ rails server</tt> | ||
QA Reports is a Ruby on Rails application so you need to install a bunch of stuff to get it up and running. This draft documentation is based on experiences in installation on Ubuntu 10.10
Most likely you won't succeed with the packaged version of Ruby. Thus this guide uses Ruby Version Manager (rvm).
Follow the instructions then from qa-reports/README.creole: