Giter Club home page Giter Club logo

lawyer-agenda's Introduction

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:

lawyer-agenda's People

Contributors

luankjs avatar hugotho avatar zevit0r avatar

Watchers

 avatar Paulo Henrique (PH) avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.