Skip to content
Development of project of tasks track using Ruby on Rails.
Branch: master
Clone or download
Latest commit 9cebdcf Apr 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app merge time_task with master Apr 21, 2019
bin Development of feature for test using tdd Mar 31, 2019
config
db Login facebook, github Apr 10, 2019
lib creation of structure using docker with devise Mar 24, 2019
public developer test Apr 1, 2019
spec tested the render pages in spec/controllers Apr 22, 2019
storage creation of structure using docker with devise Mar 24, 2019
test
vendor ajustes layout Mar 31, 2019
.gitignore Initial commit Mar 24, 2019
.ruby-version
Dockerfile developer test Apr 1, 2019
Gemfile merge time_task with master Apr 21, 2019
Gemfile.lock
LICENSE Initial commit Mar 24, 2019
README.md configuration of capybara Mar 31, 2019
Rakefile
config.ru creation of structure using docker with devise Mar 24, 2019
docker-compose.yml Initial version of tasks Mar 26, 2019
package.json adjustment Mar 24, 2019
start.sh creation of structure using docker with devise Mar 24, 2019

README.md

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

You can’t perform that action at this time.