Overview
rails_newTweetBuild is a thoughtfully designed template for building modern Rails apps. With this template, users can get started on their new app within minutes instead of hours. It offers a range of optional configuration options and pre-configured features such as React, TypeScript, ESLint, and more.
Features
- Easy setup for new Rails apps
- Optional configuration options for Sentry, New Relic, and Google Analytics
- Pre-configured support for React and TypeScript
- Pre-configured ESLint for modern JS with React support
- Support for ActiveStorage and database migration
Installation
To get started with rails_newTweetBuild, follow these steps:
- Clone the repository.
- Run
rails credentials:editto generate a newconfig/master.keyfile and createconfig/credentials.yml.enc. - If your application requires ActiveStorage, run
rails active_storage:installto generate a migration for the necessary tables. Userails db:migrateto execute the migration. - Run
bin/configureto configure the template automatically. Alternatively, you can perform the following steps manually:- Change the application name in
config/application.rb. - Update
database.ymlto reflect the new application name. - Update TODO items in
config/environments/production.rb. - If you plan on using Figaro, copy
config/application.yml.exampletoconfig/application.yml.
- Change the application name in
- If you don’t plan on tracking the template, you can remove the remote. Otherwise, rename it and add your new remote as appropriate.
Summary
rails_newTweetBuild is a template for building modern Rails apps. It offers easy setup and various optional configuration options such as Sentry, New Relic, and Google Analytics integration. The template is pre-configured with support for React and TypeScript, as well as ESLint for modern JS with React support. It also includes support for ActiveStorage and provides a convenient way to configure the template through a script or manually.