This is a rails 5 base project.
- Clone the project
- Install docker and docker-compose
- Inside the project folder run
sh bin/dev
- Inside the docker console run:
bundle exec rails db:create
bundle exec rails db:migrate
bundle exec rails db:seed
yarn install
rails s -b `hostname -i`
- Go to your browser and access
http://localhost:3000
Repo: https://github.com/plataformatec/devise
Devise is a flexible authentication solution for Rails based on Warden.
You can customize all devise views running the following generator:
rails generate devise:views
Repo: https://github.com/rspec/rspec-rails
How to execute it:
bundle exec rspec
RuboCop is a Ruby static code analyzer and code formatter. Out of the box it will enforce many of the guidelines outlined in the community Ruby Style Guide. To execute it:
bundle exec rubocop
`scss-lint is a tool to help keep your SCSS files clean and readable by running it against a collection of configurable linter rules.
It will enforce many of the guidelines outlined in the community Sass Guidelines project
To execute it:
bundle exec scss-lint
Repo: https://github.com/colszowka/simplecov
After running your tests take a look at the coverage folder: coverage/index.html