{"id":20779635,"url":"https://github.com/smartlogic/rails-templates","last_synced_at":"2025-09-05T16:08:34.308Z","repository":{"id":66730717,"uuid":"563988","full_name":"smartlogic/rails-templates","owner":"smartlogic","description":"A rails template","archived":false,"fork":false,"pushed_at":"2010-04-19T20:08:24.000Z","size":168,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-28T19:06:55.547Z","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/smartlogic.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":"2010-03-15T21:45:26.000Z","updated_at":"2014-04-05T14:15:19.000Z","dependencies_parsed_at":"2023-02-20T10:10:17.459Z","dependency_job_id":null,"html_url":"https://github.com/smartlogic/rails-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smartlogic/rails-templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlogic%2Frails-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlogic%2Frails-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlogic%2Frails-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlogic%2Frails-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smartlogic","download_url":"https://codeload.github.com/smartlogic/rails-templates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartlogic%2Frails-templates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273782430,"owners_count":25167130,"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-09-05T02:00:09.113Z","response_time":402,"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-17T13:29:03.697Z","updated_at":"2025-09-05T16:08:34.272Z","avatar_url":"https://github.com/smartlogic.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What's up with the Template?\n\n## Goals\n\nSmartlogic Solutions Rails-app-in-a-box.\n\n## Methods\n\nRails Application Template files are all in the root of the project directory.\n`template.rb` is the main file, it calls the others as needed. Most of the\nother template files load external files into the new project. Those files are\ncontained in the child directories under the root of this project.\n\nThe application creation process works roughly like this:\n\n1. load `environment.rb` - setup the environment (based on jtrupiano's environmentalist gem).\n2. load some standard gems and plugins\n3. `capify!` if needed\n4. clean up the project directory and do a git checkin.\n5. load `users.rb` - setup authlogic and the requisite models, views, and controllers\n6. load `haml.rb` - setup compass and haml for content rendering.\n7. load `javascript.rb` - setup jammit for javascript asset management.\n8. save the geminstaller.yml files (see **Application Notes** below)\n9. load `start.rb` - setup a start controller so you've got something to work with.\n10. setup default factory and some rake tasks to make seeding development data easy\n11. load `test.rb` - setup the testing environment and generate the initial tests.\n12. create and migrate the database.\n\n## Using the Template\n\n    rails -m http://github.com/smartlogic/rails-templates/raw/master/template.rb $PROJECT_NAME\n\nThat's it.\n\nFrom here you should be able to start the built in server or edit and link\nconfig/development/apache.conf into your passenger .conf dir and run the application.\n\nTests should also run out of the box.\n\nTo run the template from a local directory (working copy), add the `LOCAL=true`\nenv argument and reference `template.rb` locally. For example:\n\n    LOCAL=true rails -m rails-templates/template.rb $PROJECT_NAME\n\n## Requirements\n\nThe geminstaller_builder gem.\n\n\n## Application Notes\n\nYou'll notice we don't use the normal `gem` command, since we use geminstaller\non our projects. If you need to add a gem to the template, use the form\n`geminstaller '$GEMNAME'` instead of `gem '$GEMNAME'`. If it's a gem that's\nonly needed in one environment (e.g., \"test\"), call `geminstaller '$GEMNAME',\n:test`.\n\nMake sure all your calls to `geminstaller` come before `@geminstaller.save`,\nthat's when the geminstaller.yml files are written.\n\n### Users\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartlogic%2Frails-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmartlogic%2Frails-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartlogic%2Frails-templates/lists"}