{"id":26222214,"url":"https://github.com/tansengming/rails-base","last_synced_at":"2025-04-18T21:55:00.691Z","repository":{"id":3178856,"uuid":"4210577","full_name":"tansengming/rails-base","owner":"tansengming","description":"Rails Bootstrap","archived":false,"fork":false,"pushed_at":"2023-12-27T15:32:55.000Z","size":1204,"stargazers_count":6,"open_issues_count":6,"forks_count":2,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-03-11T20:15:24.809Z","etag":null,"topics":["heroku","rails","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tansengming.png","metadata":{"files":{"readme":"README.md","changelog":"changelog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2012-05-03T04:38:55.000Z","updated_at":"2023-05-28T01:41:06.000Z","dependencies_parsed_at":"2023-07-05T18:17:26.142Z","dependency_job_id":null,"html_url":"https://github.com/tansengming/rails-base","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/tansengming%2Frails-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tansengming%2Frails-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tansengming%2Frails-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tansengming%2Frails-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tansengming","download_url":"https://codeload.github.com/tansengming/rails-base/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243258493,"owners_count":20262297,"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":["heroku","rails","ruby"],"created_at":"2025-03-12T16:51:34.141Z","updated_at":"2025-03-12T16:51:34.650Z","avatar_url":"https://github.com/tansengming.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/tansengming/rails-base/tree/develop.svg)](https://circleci.com/gh/tansengming/rails-base/tree/develop)\n[![Code Climate](https://codeclimate.com/github/tansengming/rails-base.png)](https://codeclimate.com/github/tansengming/rails-base)\n[![Depfu](https://badges.depfu.com/badges/238d26e5741b585f9f886753fe8ef147/count.svg)](https://depfu.com/github/tansengming/rails-base?project=Bundler)\n[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/tansengming/rails-base/tree/develop)\n\n# Rails Bootstrap\n\nIf I was going to build a SASS from scratch. These would be the set of tools I would use. Every Rails developer has their favorite set of tools and gems. These happen to be mine.\n\nThe Setup includes:\n\n- **Testing** with RSpec and Factory Girl. You can specify retry counts with the `RETRIES` environment variable i.e. `RETRIES=5 bundle exec rspec spec` to retry failing specs 5 times. By default failing specs get retried 3 times.\n- **Application Administration** with Active Admin.\n- **Application Monitoring** with Rollbar, Skylight and New Relic.\n- **Continuous Integration** and Deployment with Circle CI.\n- **Continuous Code Checks** with Code Climate\n- **Customer Support** with Intercom and Heap\n- **Design** with Twitter Bootstrap\n\n# Installation\n\n## Development\n\n### macOS\n\n1. `git clone https://github.com/tansengming/rails-base.git`\n1. `cd rails-base`\n1. `rm -rf .git`\n1. `rm config/secrets.yml.enc`\n1. `git init \u0026\u0026 git add . \u0026\u0026 git commit -m 'initial commit'`\n1. `rails secrets:setup`\n1. `rails secrets:edit` and use the values from `config/secrets.yml.sample`\n1. `docker-compose up --build`\n1. `docker-compose run app rake db:create`\n1. `docker-compose run app rake db:migrate`\n1. `docker-compose run app rake db:seed`\n1. A web server should be running at http://localhost:3000, a client for the SMTP server should be running at http://localhost:1080\n1. Sign up for accounts at Skylight, Segment, Heap, Intercom, sendwithus, Code Climate and Circle CI.\n1. Update your secrets at `rails secrets:edit` with all the tokens from the accounts you just signed up for.\n\n## Application Notes\n- There are 2 levels of admins. Regular admins get to administer the app. Super Admins administer regular admins. You can access them at `/admin` and `/super_admins`.\n- You can ping the app at `/up.json` for availability monitoring. If all goes well it will respond with `{\"status\":\"ok\"}`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftansengming%2Frails-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftansengming%2Frails-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftansengming%2Frails-base/lists"}