{"id":22511080,"url":"https://github.com/rjayroach/rails-templates","last_synced_at":"2025-03-28T00:40:37.827Z","repository":{"id":31495162,"uuid":"35059371","full_name":"rjayroach/rails-templates","owner":"rjayroach","description":"Consistent bootstrap of Rails projects ","archived":false,"fork":false,"pushed_at":"2019-04-23T19:21:16.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T02:28:31.468Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rjayroach.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-04T20:58:39.000Z","updated_at":"2019-04-23T19:21:17.000Z","dependencies_parsed_at":"2022-09-09T09:31:32.376Z","dependency_job_id":null,"html_url":"https://github.com/rjayroach/rails-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjayroach%2Frails-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjayroach%2Frails-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjayroach%2Frails-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjayroach%2Frails-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rjayroach","download_url":"https://codeload.github.com/rjayroach/rails-templates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245949553,"owners_count":20698916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-07T02:08:27.966Z","updated_at":"2025-03-28T00:40:37.802Z","avatar_url":"https://github.com/rjayroach.png","language":"Ruby","readme":"# rails-templates\n\nhttp://guides.rubyonrails.org/rails_application_templates.html\n\n```bash\nrails new todo-app -m https://raw.githubusercontent.com/rjayroach/rails-templates/master/4-main.rb\n```\n\n```bash\nbin/rake rails:template LOCATION=https://raw.githubusercontent.com/rjayroach/rails-templates/master/5-api.rb\n```\n\n```bash\nrails new todo-app --api -m https://raw.githubusercontent.com/rjayroach/rails-templates/master/5-api.rb\n```\n\n```bash\nrails new todo-app --api -m path-to-rails-templates/5-api.rb\n```\n\n## Plugins\n\nA Rails plug-in is just a bare bones gem with a railtie\n\nPassing the `--full` option will create a full app structure which is aka an engine\n\nPassing the `--mountable` additionally adds `isolate_namespace = true` and requires to mount engine routes\nin the application's config/routes.rb\n\n```bash\nrails plugin new todo-engine --api --full -m path-to-rails-templates/5-api.rb -T --dummy-path=spec/dummy\n```\n\n## TODO\n\n- fix up slack role so it is immediately configured\n- test applying the template to an existing project to add, e.g. grpc.\n- Implement https://github.com/brigade/overcommit\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjayroach%2Frails-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frjayroach%2Frails-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjayroach%2Frails-templates/lists"}