Skip to content

bellatrix988/rails-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails Application Template with Bootstrap

These files contains the most usable gems and configuration for the initial setup of a plain Rails-application.

Since Rails provides templates for adding gems, initializers, etc. to your freshly created Rails project or an existing Rails project, I collected the most loved gems and configuration I'd like to share.

To find more suitable gem for special case I like using The Ruby Toolbox site.

Requirements

  • PostgreSQL
  • Rails 7
  • Ruby 3.1.2

Usage

To apply this template for any new project you create, put the .railsrc file in your $HOME directory.

cd $HOME
curl https://raw.githubusercontent.com/Bellatrix988/rails-template/main/.railsrc --output .railsrc

For a new project

Simple user standard command for creation new application. rails new app_name

For an existing project

For convenient merge two versions of conviction files, I'm using rubymine diff tool.

To use it, in RubyMine, install the CLI by selecting Tools - Create Command-line Launcher in the menu. export THOR_MERGE="mine diff $1 $2"

Next I'm

bin/rails app:template LOCATION=https://raw.githubusercontent.com/Bellatrix988/rails-template/main/template.rb

List of Gems

About

Rails Application Template for building new app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors