{"id":20595530,"url":"https://github.com/thefrontside/localmotive","last_synced_at":"2025-10-15T19:09:27.989Z","repository":{"id":5466610,"uuid":"6662277","full_name":"thefrontside/localmotive","owner":"thefrontside","description":"A Rails Engine for Local Development","archived":false,"fork":false,"pushed_at":"2016-01-07T02:34:08.000Z","size":9,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T23:44:04.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/thefrontside.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-12T23:16:56.000Z","updated_at":"2021-11-28T11:48:15.000Z","dependencies_parsed_at":"2022-07-09T01:30:18.881Z","dependency_job_id":null,"html_url":"https://github.com/thefrontside/localmotive","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/thefrontside/localmotive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thefrontside%2Flocalmotive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thefrontside%2Flocalmotive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thefrontside%2Flocalmotive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thefrontside%2Flocalmotive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thefrontside","download_url":"https://codeload.github.com/thefrontside/localmotive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thefrontside%2Flocalmotive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279104300,"owners_count":26104477,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-16T08:13:22.898Z","updated_at":"2025-10-15T19:09:27.956Z","avatar_url":"https://github.com/thefrontside.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Localmotive: a Rails Engine for local development\n\nVery often, we want to override the settings for our application which are contained in source control with our own\nlocal values. This could be to use our own AWS key, SMTP server, or database url. It is also useful to run a tweaked\nversion of your production or staging environment that is mostly faithful to the original but has some extras to make it\nfriendlier for local development (like not using a CDN)\n\nFor these reasons and more, localmotive lets you maintain your own custom per-environment configurations that lie\noutside your main source control without giving up orderliness.\n\n\n## Installation\n\nAdd this to your rails application's development group:\n\n    group :development do\n      gem 'localmotive'\n    end\n\nIf you want to use localmotive in environments other than just development, you can either enumerate them\n\n    gem 'localmotive', :groups =\u003e [:development, :test]\n\nOr just add it to the default group\n\n    gem 'localmotive'\n\n## Usage\n\nTo get started, run the install command\n\n    rails generate localmotive\n\nThis will generate your local config files\n\n    create  .local/config/application.rb\n    create  .local/config/environments/development.rb\n    create  .local/config/environments/production.rb\n    create  .local/config/environments/test.rb\n    append  .gitignore\n\n\nThis will create a mirror of your rails environment configuration files in the `.local` directory and add it to your\n.gitignore. That way, each developer can locally configure their application to their heart's content without worrying\nabout\n\n1. clobbering anybody else's configuration\n1. accidentally checking in sensitive configuration information to source control\n\nThe load rules of your local environment shadow those of vanilla rails. So, if you are running in the development\nenvironment, localmotive will load\n\n1. `.local/config/application.rb`\n1. `.local/config/environments/development.rb`\n\nlocal configuration files are loaded only after all stock configuration has been run, but before application\ninitialization. That way, you can be sure that your settings will take precedence.\n\n## Credits\n\nLocalmotive was developed at [The FrontSide][1] in order to avoid development papercuts\n\n[1]: http://thefrontside.net\n\n\n\n\n## Code of Conduct\nPlease note that this project is released with a Contributor Code of\nConduct. By participating in this project you agree to abide by its\nterms, which can be found in the `CODE_OF_CONDUCT.md` file in this\nrepository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthefrontside%2Flocalmotive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthefrontside%2Flocalmotive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthefrontside%2Flocalmotive/lists"}