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)
docker-compose exec web bin/rails db:migrate
docker-compose exec web bin/rails db:seed
docker-compose build web docker-compose --force-recreate web
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.
-
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
- DO: RSpec 3 Unit Tests for each model (80 minimum)
- Automatic Assessment
- Material
- [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)
- Code linting
- DO:
- DO: Nested Forms
- FEAT: Devise
- FEAT: CanCanCan
- [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
- [VIEW] New client
- [VIEW] Client edit
- [VIEW] Status edit
- [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