Skip to content

luankjs/lawyer-agenda

Repository files navigation

Coverage

README

Description

Project developed with the aim of fulfilling the requirements of the configuration management and software testing discipline of the TST-IMD IT residency.

The application proposes to consume the TST's schedules and trials data API.

Ruby version

2.7.0

System dependencies

Rails

gem install rails

Postgresql

sudo apt -y install postgresql postgresql-contrib

sudo passwd postgres

sudo service postgresql start

sudo -sudo -u postgres psql
# postgres=# CREATE ROLE your_username;
# postgres=# ALTER ROLE your_username WITH LOGIN SUPERUSER INHERIT CREATEDB CREATEROLE REPLICATION;
# postgres=# SET ROLE your_username;
# postgres=# GRANT postgres TO your_username;
# postgres=# CREATE DATABASE your_username ENCODING 'UTF8' TEMPLATE template0 OWNER your_username;
# postgres=# \q

Tip: change your_username above to your username and substitute the line username: postgres on config/database.yml to same user.

libpq-dev

sudo apt install libpq-dev

Configuration

gem install bundler:2.2.14

bundle install

Database creation & initialization

rails db:setup

rails db:migrate

How to run the test suite

rspec

How to run the extractor

Open rails console:

rails console

Run the extractor:

SchedulesExtractor.new.call()

Staff

Autores:

About

A simple agenda to lawyers with proccess on TST

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published