ProgramadoroTracker is a project that will to help you to keep your focus with mind-refreshing breaks. Utilizing technique of Pomodoro divided in categories tasks to do and done. What do you need to do?
You must have installed on your machine:
- Docker
- Docker Compose
Follow the instructions to have a project present and able to run it locally.
After copying the repository to your machine, go to the project's root site and:
- Construct the container
docker-compose build
- Create of Database
docker-compose run --rm website bundle exec rails db:create
- up the project
docker-compose up
- Without turning off the server, open a new window and run the migrations
docker-compose run --rm website bundle exec rails db:migrate if necessary populate database
For to do the tests it is necessary in docker container running:
Test using Rspec:
Model category
docker-compose run --rm app bundle exec rspec spec/models/category_spec.rb
configuration_task
docker-compose run --rm app bundle exec rspec spec/models/configuration_task_spec.rb
task
docker-compose run --rm app bundle exec rspec spec/models/task_spec.rb
user
docker-compose run --rm app bundle exec rspec spec/models/user_spec.rb
Controller
categories
docker-compose run --rm app bundle exec rspec spec/controllers/categories_controller.spec.rb
configurationTask
docker-compose run --rm app bundle exec rspec spec/controllers/configuration_task_controller.spec.rb
tasks
docker-compose run --rm app bundle exec rspec spec/controllers/tasks_controller.spec.rb
pages
docker-compose run --rm app bundle exec rspec spec/controllers/pages_controller.spec.rb
Project created by the following developers
Thiago Cardoso |
Tiago Leal |
Jorge Toledo |
Vanildo Prates |
Guilherme Arôxa |
---|
This project is licensed under a Apache license 2.0 - see file LICENSE for more details