Create user for Postgresql:
sudo -u postgres createuser --superuser user_name
rvm install 2.6.5
rvm --default use 2.6.5
rvm list
ruby -v
gem install bundler
bundle install
rails db:create
rails db:migrate
rails db:test:populate
Login - [email protected]
Password - 123456
rubocop
rubocop -a
rails generate rspec:install
rspec
rspec spec/features
rspec spec/features/home_page_spec.rb
rspec spec/features/home_page_spec.rb:22
rspec spec/features --tag smoke
CHROME_HEADLESS=0 rspec spec/features --tag smoke
rspec spec/features --format progress --format html --out reports/rspec_results.html
Install docker and docker-compose
sudo apt-get install docker docker-compose
docker-compose up
docker-compose up --force-recreate --build server_app
bin/docker rspec
bin/docker rspec spec/features/authentication/login_spec.rb