Building a blog using Ruby on Rails 6 in MVC pattern.
Ruby version | 3.0.2 |
Rails version | 6.1.4.1 |
Database | PostgreSQLs |
# clone the project
git clone https://github.com/Joao-MCF/blog.git
# enter the cloned directory
cd blog
# install Ruby on Rails dependencies
bundle install
# install Node dependencies
yarn install
# create the development and test databases and the tables
rails db:create && rails db:migrate
rails db:migrate RAILS_ENV=test
# run the project
rails s
# Default: Run all spec files (i.e., those matching spec/**/*_spec.rb)
$ bundle exec rspec
# See all options for running specs
$ bundle exec rspec --help
João Marcos C. Ferreira - Code and Documentation Linkedin