Go to file
2023-02-12 17:20:48 +03:00
config Update database.yml 2023-02-06 15:48:32 +03:00
docker Initial commit 2022-12-19 17:27:35 +03:00
envs Update env file 2023-02-08 11:06:17 +03:00
gems Update gemfile 2023-02-12 17:20:48 +03:00
rspec Move readme 2023-01-02 09:56:28 +03:00
README.md Update README.md 2023-02-06 16:52:15 +03:00
template.rb Update gems 2023-02-12 17:11:46 +03:00

DIT RAILS TEMPLATE

This is a template for a Rails project with some default and predefined gems and configurations.

Instructions

  • Clone the repo:
git clone git@github.com:ditkrg/rails-template.git
cd rails-template
  • create a new rails app with the template flag like below:
rails new --api your_app_name -m template.rb

NOTE

  • add .env to .gitignore file

Arguments

This template by default will create a new rails app with the following:

  • postgresql
  • rspec
  • gemset
  • dotenv
  • docker
  • docker-compose
  • if you want to skip any of the above, you can pass the following arguments:
- postgres:             --skip-postgres
- rspec:                --skip-rspec
- gemset:               --skip-gemset
- dotenv:               --skip-dotenv
- docker:               --skip-docker
- docker-compose:       --skip-docker-compose