{"id":16060887,"url":"https://github.com/geerlingguy/demo-rails-app","last_synced_at":"2025-07-15T19:15:48.412Z","repository":{"id":26823828,"uuid":"30282601","full_name":"geerlingguy/demo-rails-app","owner":"geerlingguy","description":"Demonstration Ruby on Rails app for Ansible for DevOps","archived":false,"fork":false,"pushed_at":"2023-05-04T22:45:38.000Z","size":154,"stargazers_count":3,"open_issues_count":3,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T23:15:25.345Z","etag":null,"topics":["ansible","app","demo","devops","example","rails"],"latest_commit_sha":null,"homepage":null,"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/geerlingguy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-02-04T05:11:41.000Z","updated_at":"2023-07-12T01:25:04.000Z","dependencies_parsed_at":"2025-04-10T23:15:32.303Z","dependency_job_id":"dd90ac15-4cdc-4e48-997b-3fd54cfcd8cb","html_url":"https://github.com/geerlingguy/demo-rails-app","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/geerlingguy/demo-rails-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fdemo-rails-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fdemo-rails-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fdemo-rails-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fdemo-rails-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geerlingguy","download_url":"https://codeload.github.com/geerlingguy/demo-rails-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fdemo-rails-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265453599,"owners_count":23768169,"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":["ansible","app","demo","devops","example","rails"],"created_at":"2024-10-09T04:06:58.850Z","updated_at":"2025-07-15T19:15:48.356Z","avatar_url":"https://github.com/geerlingguy.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demo Rails App\n\n[![Build Status](https://github.com/geerlingguy/demo-rails-app/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/geerlingguy/demo-rails-app/actions/workflows/main.yml)\n\nThis repository contains an extremely simple Ruby on Rails app which follows the official [Getting Started with Rails](http://guides.rubyonrails.org/getting_started.html) guide.\n\nThe app is meant for demonstration purposes in [Ansible for DevOps](http://ansiblefordevops.com/), a book on [Ansible](http://www.ansible.com/) by [Jeff Geerling](http://jeffgeerling.com/). See, specifically, the [deployments example](https://github.com/geerlingguy/ansible-for-devops/tree/master/deployments) in the official Ansible for DevOps repository.\n\n## Local Install\n\nIf you'd like to run the example locally, make sure you have Ruby and Rails installed, then do the following (from within this repository's directory):\n\n  1. `sudo bundle install`\n  2. `bin/rails server`\n  3. `rake db:create`\n  4. `rake db:schema:load`\n\nAfter WEBrick starts up on port 3000 (it's default), you should be able to browse the rails app in your browser at something like `http://localhost:3000/`.\n\n### Generating `secrets.yml`\n\nIf you get a warning about a secrets.yml file missing, create a secrets.yml file in `config/secrets.yml` with content like the following:\n\n```yaml\n---\ndevelopment:\n  secret_key_base: SECRET_1_HERE\n\ntest:\n  secret_key_base: SECRET_2_HERE\n\nproduction:\n  secret_key_base: SECRET_3_HERE\n```\n\nTo generate secrets for the three environments, run `RAILS_ENV=[environment name here] rake secret`.\n\n## License\n\nMIT\n\n## Buy the Book\n\n[![Ansible for DevOps Cover](https://s3.amazonaws.com/titlepages.leanpub.com/ansible-for-devops/medium)](http://www.ansiblefordevops.com/)\n\nBuy [Ansible for DevOps](http://www.ansiblefordevops.com/) for your e-reader or in paperback format.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fdemo-rails-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeerlingguy%2Fdemo-rails-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fdemo-rails-app/lists"}