Closed apoltieva closed 2 years ago
rails car_diary -d postgresql -T
rake db:create
gem 'rspec-rails'
bundle install
rails g rspec:install
gem 'slim-rails'
bundle install
class Application < Rails::Application
config.generators do |g|
g.template_engine :slim
end
end
gem install html2haml haml2slim
find ./app/views -name '*.erb' | xargs -I file sh -c \
'html2haml --erb file | haml2slim > $(echo file | sed 's/erb/slim/') && \
rm file'
rails generate controller home index
rails s
We are yet to agree on data model for our application but that doesn't block us on creating the initial skeleton for the project.
ACs (acceptance criteria):
rails new
command)