ProductPromotion
Logo

Ruby

made by https://0x3d.site

GitHub - thoughtbot/suspenders: A Rails template with our standard defaults.
A Rails template with our standard defaults. Contribute to thoughtbot/suspenders development by creating an account on GitHub.
Visit Site

GitHub - thoughtbot/suspenders: A Rails template with our standard defaults.

GitHub - thoughtbot/suspenders: A Rails template with our standard defaults.

Suspenders

CI

Suspenders is a Rails Engine containing generators for configuring Rails applications with these features.

It is used by thoughtbot to get a jump start on a new or existing app. Use Suspenders if you're in a rush to build something amazing; don't use it if you like missing deadlines.

Suspenders boy

Requirements

  • Rails ~> 7.0
  • Ruby >= 3.1
  • Node >= 20.0.0

Usage

Suspenders can be used to create a new Rails application, or to enhance an existing Rails application.

With New Rails Applications

This approach uses an application template to generate a new Rails application with Suspenders.

We skip the default test framework in favor of RSpec, and prefer PostgreSQL as our database.

We skip RuboCop rules by default in favor of our holistic linting rules.

Use the latest suspenders release:

rails new app_name \
 --skip-rubocop \
 --skip-test \
 -d=postgresql \
 -m=https://raw.githubusercontent.com/thoughtbot/suspenders/main/lib/install/web.rb

OR use the current (possibly unreleased) main branch of suspenders:

rails new app_name \
 --suspenders-main \
 --skip-rubocop \
 --skip-test \
 -d=postgresql \
 -m=https://raw.githubusercontent.com/thoughtbot/suspenders/main/lib/install/web.rb

Then run bin/setup within the newly generated application.

Alternatively, if you're using our dotfiles, then you can just run rails new app_name, or create your own railsrc file with the following configuration:

--skip-rubocop
--skip-test
--database=postgresql
-m=https://raw.githubusercontent.com/thoughtbot/suspenders/main/lib/install/web.rb

With Existing Rails Applications

Suspenders can be used on an existing Rails application by adding it to the :development and :test group.

group :development, :test do
  gem "suspenders"
end

Once installed, you can invoke the web installation generator, which will invoke all generators.

bin/rails g suspenders:install:web

Or, you can invoke generators individually. To see a list of available generators run:

bin/rails g | grep suspenders

To learn more about a generator, run:

bin/rails g suspenders:[generator_name] --help

Available Tasks

Suspenders ships with several custom Rake tasks.

bin/rails suspenders:rake
bin/rails suspenders:db:migrate
bin/rails suspenders:cleanup:organize_gemfile

Contributing

See the CONTRIBUTING document. Thank you, contributors!

License

Suspenders is Copyright (c) thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About thoughtbot

thoughtbot

This repo is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.

We love open source software! See our other projects. We are available for hire.

More Resources
to explore the angular.

mail [email protected] to add your project or resources here 🔥.

Related Articles
to learn about angular.

FAQ's
to learn more about Angular JS.

mail [email protected] to add more queries here 🔍.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory