Skip to content

Instantly share code, notes, and snippets.

@yuhonas
Created May 18, 2023 21:18
Show Gist options
  • Save yuhonas/38622fa3c762840ceeba4e857fc603ba to your computer and use it in GitHub Desktop.
Save yuhonas/38622fa3c762840ceeba4e857fc603ba to your computer and use it in GitHub Desktop.
generate(:controller, "dashboard")
route "root to: 'dashboard#index'"
rails_command("db:setup")
rails_command("db:migrate")
after_bundle do
generate(:devise, "User")
git :init
git add: "."
git commit: " -m 'Initial commit' "
end
gem_group :development, :test do
gem "rspec-rails", "~> 6.0.0"
gem "factory_bot_rails"
end
gem_group :development do
gem "html2slim", github: "slim-template/html2slim"
gem "solargraph"
end
gem_group :test do
gem "shoulda-matchers", "~> 5.0"
end
gem "devise", "~> 4.9"
gem "motor-admin", "~> 0.4.8"
gem "pagy", "~> 6.0"
gem "postmark-rails", "~> 0.22.1"
gem "sentry-rails", "~> 5.8"
gem "sentry-ruby", "~> 5.8"
gem "simple_form", "~> 5.2"
gem "slim", "~> 5.1"
gem "strip_attributes", "~> 1.13"
file "app/views/dashboard.html.slim", <<-CODE
h1 Dashboard
p Find me in app/views/dashboard.html.slim
CODE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment