How to install SaguiSaúde
SaguiSaúde is developed under the framework Ruby On Rails, more informations at http://rubyonrails.org/download
To download the sources of Sagui, execute the following command:
$ svn co svn://ccsl.ime.usp.br/borboleta/trunk/sagui
Configure the file config/database.yml
Download all the necessary gems:
$ rake gems:install
To run it, execute:
$ rake db:migrate
$ rake db:fixtures:load
$ script/server
To run the Selenium test, execute:
$ export RAILS_ENV=test
$ rake db:migrate
$ rake db:fixtures:load
$ script/server -e test
Open Firefox and run in the URL: http://localhost:3000/selenium
Obs: Reduce the speed of the test to don't get erros due to the response time of the server.
