Skip to content

Thiago-Cardoso/ProgramadoroTracker

Repository files navigation

ProgramadoroTracker

License

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?

Index

Requirements

You must have installed on your machine:

  • Docker
  • Docker Compose

First steps

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:

  1. Construct the container
docker-compose build
  1. Create of Database
docker-compose run --rm website bundle exec rails db:create
  1. up the project
docker-compose up
  1. 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

Tests

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

Authors

Project created by the following developers


Thiago Cardoso


Tiago Leal


Jorge Toledo


Vanildo Prates


Guilherme Arôxa

Licença

This project is licensed under a Apache license 2.0 - see file LICENSE for more details

About

Development of project of tasks track using Ruby on Rails.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published