This project is focused on generating the report that an agronomist engineer in an inspection report document of plantations and recipes to combat pests, in order to improve the quality of the plant and its fruit as well as to avoid diseases.
- Ruby Verion '3.1.1'
- Bundle version '2.3.7'
- postgress
- Default port: 3000
Open a new terminal and type:
$ git clone git@github.com:philip13/agro_reports.git
Go to the downloaded folder and install:
$ cd agro_reports
$ bundle install
Setup:
$ rails db:create
$ rails db:migrate
$ rails db:seed
$ bin/dev
Open a browser and go to:
Run all test:
$ rails test
or $ bin/rails test
Run test in background
$ bundle exec rake test:system
or $ bundle exec rake test:system:with[chrome]
Run only one file test:
$ rails test test/models/article_test.rb
Ruby style guide, linter, and formatter
bundle exec rubocop -A
- As user I can create an account and sign in into the app
- As a signed in admin I can invite other users to my account as collaborators
- As a signed in admin I can manage Clients
- As a signed in admin/collaborator I can create a report
- name
- name
- Account
- User
- first_name
- last_name
- phone
- name
- identifier
- Crop
- status
- phenological_state
- visited_at
- sowing_in