Borboleta: A Mobile Telehealth System

An Open Source Project - Mobile Telehealth Services for all

How to install SaguiSaúde

SaguiSaúde is developed under the framework Ruby On Rails, more informations at http://rubyonrails.org/download

You may download the sources of Sagui. After that, do:

  • git clone borboleta.git.bundle
  • cd borboleta.git
  • for b in $(git for-each-ref --format='%(refname:lstrip=-1)' refs/remotes); do git branch $b refs/remotes/origin/$b && git branch -D -r origin/$b; done
  • git switch main
  • cd 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.

Powered by Drupal - Design by Artinet