철지난 루비온 레일즈
별 생각이 없다.. 그냥 해봄
어플리케이션 생성
스타터킷이 있기는 한데 다 너무 오래됐다. 마지막 업데이트가 5년~7년…
그 때 부터 안쓰기 시작했나보다
그래도 아직 현역인데… 이렇게까지 인기가 없을까
- https://github.com/prismicio/ruby-rails-starter
- https://github.com/mattbrictson/rails-starter
- https://github.com/RailsApps/rails-devise-pundit
1 |
rails new app |
필수 환경 설치
rbenv 2.6.5 bundle rails
필수 라이브러리
- https://github.com/heartcombo/devise
- https://github.com/rspec/rspec-rails
- https://github.com/varvet/pundit
- https://github.com/thoughtbot/factory_bot_rails
명령어 실행
1 2 3 4 5 6 |
bundle rails db:create rails g devise:install rails g devise user rails db:migrate rails g pundit:install |
그리고 코드생성
1 2 3 |
rails g model post rails g controller post rails g service post |
ㅎ
쉽게 프로젝트를 생성할 수 있는게 장점인데
노드가 더 쉬워서 자리를 뺏긴 느낌이다.