Config files

Copy (or rename) database.yml.sample to database.yml and set up the credentials and other database details you wish

Copy (or rename) repository.yml.sample to repository.yml and point it to the Subversion repository you wish to use for your environment (you probably want “production”)

Database scheme & default values

Load up the database scheme from db/development_structure.sql (this is for MySQL, more schemes will follow eventually)

$ RAILS_ENV="environment" rake db_schema_import

where “environment” is the environment which you’d like to initialize (usually it will be production).

Create the minimal default content Collaboa needs to start with:

$ RAILS_ENV="environment" ruby db/default_content.rb

This will create the default statuses and the default severities, as well as creating a user ‘admin’ with a password of ‘admin’ which you can log in with to change things.

Syncing the repository

For the latest revision on trunk (r526):

  1. start your Collaboa instance, described below
  2. login as “admin”, “admin”
  3. create a repository location
  4. create a project

Continue with syncing the repository for release 0.5.6

For release 0.5.6:

Then, before you load up your Collaboa instance in your browser, you should run the following:

$ ./script/repository_syncer 

It will default to using your production settings, for options etc, run it with the –help flag

...to sync the database with your repository. Collaboa will automatically sync with your repository when it detects a change, but for the first run you’d want to run the rake task to avoid timeouts etc in case your repository is fairly big.

Start the webserver

You can run pretty much any web server you wish (only tested with Lighttpd/Apache/Webrick though). If you just wanted to get started right away you can run “./script/server” and direct your browser at http://localhost:3000

 
collaboa/install.txt · Last modified: 2006/07/22 16:13 by alvinschur
 
Recent changes RSS feed