✔ How to install Rails, create a new Rails application, and connect your application to a database.
✔ The general layout of a Rails application.
✔ The basic principles of MVC (Model, View, Controller) and RESTful design.
✔ How to quickly generate the starting pieces of a Rails application.
-
Ruby version:
- 7.0.4
-
System dependencies
-
Configuration
-
Database creation
- bin/rails db:create
-
Database initialization
-
How to run the test suite
-
Services (job queues, cache servers, search engines, etc.)
-
Deployment instructions
` - install wsl ubuntu
- install rbenv
- install ruby 3.1.2
- install ruby 2.7.6
- install nvm
- install node 18
- install node 12
- install yarn
- install rails 7.0.4
- install postgresql 15
- connect posgressql and rails
- create db in posgressql
- run rails server `
- add controller article
- add root route
- add dotenv-rails
- db:migrate
- irb create article
- irb save article
- erb show articles using .each
- add linters eslint and rubocop
- fix linters
- add model Article
- add model Comment