{"id":14955713,"url":"https://github.com/agilie/rails-application-template","last_synced_at":"2025-10-01T01:31:23.652Z","repository":{"id":71905863,"uuid":"89253593","full_name":"agilie/Rails-Application-Template","owner":"agilie","description":"Base template for creating rails applications.","archived":false,"fork":false,"pushed_at":"2017-06-19T12:22:41.000Z","size":16,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"development","last_synced_at":"2025-01-14T11:46:22.513Z","etag":null,"topics":["application-template","rails","rails-application","ruby","runner"],"latest_commit_sha":null,"homepage":"https://agilie.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agilie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.MD","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-24T14:56:46.000Z","updated_at":"2018-10-02T14:49:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7e2436c-1130-41a8-9006-fb207c9e9247","html_url":"https://github.com/agilie/Rails-Application-Template","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.26315789473684215","last_synced_commit":"9c27e762bbe7e170c198bcc7ab8aab290ef8fc2e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilie%2FRails-Application-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilie%2FRails-Application-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilie%2FRails-Application-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilie%2FRails-Application-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agilie","download_url":"https://codeload.github.com/agilie/Rails-Application-Template/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234808947,"owners_count":18890088,"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":["application-template","rails","rails-application","ruby","runner"],"created_at":"2024-09-24T13:11:36.432Z","updated_at":"2025-10-01T01:31:23.322Z","avatar_url":"https://github.com/agilie.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/agilie/Rails-Application-Template)\n\n# Rails Application Template\nBase template for creating Ruby-on-Rails applications\n\n**Current version:** *0.1.2*\n\n## How to use\n1. Download or clone the template\n2. Set your ruby version and gemset\n    ```bash\n    $ rvm use 2.3.0@myapp --create\n    ```\n3. Install rails gem for the gemset\n    ```bash\n    $ gem install rails -v 'your_rails_version'\n    ```\n3. Simply use the template when you are creating your application\n    ```bash\n    $ rails new myapp -m /path/to/template/bootstrap.rb\n    ```\n4. Have fun with your application\n\n## Customization\nTemplate uses `config.yml` file for installing and configuring rails gems and other stuff. \nThe list of statements that will help you to customize your own template are given below.\n1. The configuration file consists of several blocks like. They divide the application generation\n   process into some logic parts.\n   ```yaml\n   rvm: ...\n   testing: ...\n   documentation: ...\n   deploy: ...\n   ```\n2. The main part of each block is `gems`. So if you want more gems to be added to your project just\n   add a new block with any name, which suits your aim with appropriate `gems` block or add your `gems` to \n   any existing block.  \n   ```yaml\n    testing:\n      gems:\n        faker: true\n        rspec-rails:\n          group: test, development\n        factory_girl_rails:\n          version: ~\u003e 4.8\n          group: test, development\n   ```\n   You can use just `true` value for a gem. In this case the gem will be added to `Gemfile` like\n   ```ruby\n   gem 'faker'\n   ```\n   You can also pass version and/or group params and they will be used in `Gemfile` either\n   ```ruby\n   gem 'factory_girl_rails', '~\u003e 4.8', group: [:test, :development]\n   ```\n3. Each block can run his own runner from runners folder if one exists. There you can put any\n   code you want to execute, i.e.\n   ```ruby\n   create_file '.ruby-version', RUBY_VERSION\n   create_file '.ruby-gemset', app_name\n   file '.rvmrc', \"rvm use #{RUBY_VERSION}@#{app_name}\"\n   ```\n4. If you need to make some actions after gem is added, i.e. run `rails generate rspec:install` you can put\n   callback to the runner that will be executed after gem is added. By convention callback name depends on\n   gem name and should look like this\n   ```ruby\n   \"#{your_gem_name.gsub('-', '_')}_callback\"\n   ```\n   So, for rspec-rails the full configuration will look like that\n   ```yaml\n   # config.yml\n   testing:\n     gems:\n       rspec-rails:\n         group: test, development\n   ```\n   ```ruby\n   # runners/testing.rb\n   def rspec_rails_callback\n     generate('rspec:install')\n   end\n   ```\n   \n## TODOs\n1. ~~Add gitignore with appropriate file exclusions~~\n2. Implement a convenient way for user logins and passwords injecting to initializers\n3. Add more configurations to capistrano\n\n## Troubleshooting\nProblems? Check the [Issues](https://github.com/agilie/Rails-Application-Template/issues) block \nto find the solution or create an new issue that we will fix asap. Feel free to contribute.\n\n## Author\nThis Rails application template is open-sourced by [Agilie Team](https://www.agilie.com) \u003cinfo@agilie.com\u003e\n\n## Contributor\n[Sergey Melashych](https://github.com/SergeyMell)\n\n## Contact us\nIf you have any questions, suggestions or just need a help with web or mobile development, please email us at \u003cweb@agilie.com\u003e. You can ask us anything from basic to complex questions. \n\nWe will continue publishing new open-source projects. Stay with us, more updates will follow!\n\n\n## License\nThe [MIT](LICENSE.MD) License (MIT) Copyright © 2017 [Agilie Team](https://www.agilie.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagilie%2Frails-application-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagilie%2Frails-application-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagilie%2Frails-application-template/lists"}