Skip to content

Xlaudius/tesis

Repository files navigation

README

Ruby version: 2.5.1

Rails Version: 5.1.2

Docker Version: 18.03.0-ce, build 0520e24

Database creation

docker-compose up -d
docker ps to verify web and database are running
If both services are running do:
> docker-compose exec web bin/rails db:create (FIRST TIME ONLY)

Database initialization

docker-compose exec web bin/rails db:migrate
docker-compose exec web bin/rails db:seed

Building changes in Docker on a local system

docker-compose build web docker-compose --force-recreate web

How to run the test suite

docker-compose exec web bin/rails spec
NOTE: The tests execute randomly, once the suite is ran, check the start of the message, tests can be both Red of Green, check for conflicts on the Red models.

Services

web

  • Main service, here is where the application is launched, commonly known as 'rails s'.

database
> Postgres Database. Is empty on launch, must do a db:create, db:migrate and db:seed if you want to test locally.
> Volume: db-data

Deployment instructions

Pending Features

Team Magma </Roberto_Claudio>

Team Epics [WIP]

  • DO: RSpec 3 Unit Tests for each model (80 minimum)
  • Automatic Assessment
  • Material

Mandatory [WIP]

  • [REFACTOR] Models (presence)
  • [VIEW] Estimated Assessment
    • [ADD] Model
    • [ADD] Controller
    • [TEST] Feature
    • [TEST] Unit
    • [FEATURE] Estimated assessment
  • [ADD] All materials values
  • [FEATURE] Final material value is: Material_value * Quality (0.0 ~> 1.0)

CORE

IMPORTANT

OPTIONAL

USEFUL

  • Code linting

Team Acqua </Alexis_Felipe>

Team Epics

  • DO:
  • DO: Nested Forms
  • FEAT: Devise
  • FEAT: CanCanCan

Mandatory Features and views

ESSENTIAL (v. 1.0)

  • [VIEW] Home
  • [VIEW] New Assessment
  • [VIEW] Single assessment(show)
  • [VIEW] On-the-field Form
    • [FEATURE] Always-on Camera Button
    • [FEATURE] Documents and Images attachment
  • [FEATURE] Search
  • [FEATURE] NavBar
  • [FEATURE] Documents and Images attachment

IMPORTANT

  • [VIEW] New client
  • [VIEW] Client edit
  • [VIEW] Status edit

OPTIONAL

  • [VIEW] Admin
  • [FEATURE] Add/Remove Users
  • [VIEW] Region/Cities/Provinces
  • [VIEW] Property
  • [VIEW] Material values

EPICS [ ] Views
[ ] Features
[ ] Authentication
[ ] Authorizations
[ ] Test suite
[ ] Assessment estimated value

About

Final project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors