/covid-sc

Aplicação para controle de leitos e monitoramento dos casos de COVID 19 para a Secretaria de Saúde de SC

Primary LanguageRuby

COVID SC

Dependencies

Things you need to install to run this project:

  • Ruby >= 2.6.5
  • Node >= 13.2.0

Ubuntu

apt-get update
apt-get postgresql postgresql-contrib postgresql-server-dev-all cmake node
gem install bundler

MacOS

brew update
brew install postgres node
gem install bundler

Development

Setup

bundle install
cp config/database.yml.example config/database.yml
bin/rails db:setup

Run the local server at http://localhost:3000 with:

bundle exec rails server

Run tests with:

bundle exec rails test