{"id":24559551,"url":"https://github.com/dvbtham/rails-circleci","last_synced_at":"2025-07-09T18:10:10.241Z","repository":{"id":42587820,"uuid":"272179882","full_name":"dvbtham/rails-circleci","owner":"dvbtham","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-14T07:00:54.000Z","size":233,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-16T19:49:27.074Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dvbtham.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":"2020-06-14T10:32:36.000Z","updated_at":"2020-06-14T16:09:57.000Z","dependencies_parsed_at":"2023-01-28T19:00:49.500Z","dependency_job_id":null,"html_url":"https://github.com/dvbtham/rails-circleci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dvbtham/rails-circleci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvbtham%2Frails-circleci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvbtham%2Frails-circleci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvbtham%2Frails-circleci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvbtham%2Frails-circleci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvbtham","download_url":"https://codeload.github.com/dvbtham/rails-circleci/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvbtham%2Frails-circleci/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502343,"owners_count":23618576,"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":[],"created_at":"2025-01-23T06:17:00.304Z","updated_at":"2025-07-09T18:10:09.861Z","avatar_url":"https://github.com/dvbtham.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\nThis is an example repository for working with rails and postgres, and setting them up using docker-compose.\n\nTo run this app, do the following. \n\n1. Install docker\n1. Run `docker-compose up`\n2. This would run the web service in a container and postgres in a container. \n3. Would look something like this.\n![alt text](blog_images/docker_compose.png)\n\n4. This would take a while the first time. \n5. Now we need to create db before we can go any further. For this we'll connect to the docker container. \n\t6. In another terminal run `docker ps`\n\t7. ![alt text](blog_images/docker_ps.png)\n\t8. Copy the container id for web, and connect to container by running this command. `docker exec -it 1597728759c0 sh`\n\t9. You'll be connected to the docker container. \n\t10. Run `rake db:create \u0026\u0026 rake db:migrate`\n6. Go to [http://localhost:3000/](http://localhost:3000/) and see if everything is working. \n7. Run all your rails commands in the container itself. \n8. Try running `rails g scaffold blog title:string body:string`\n9. Go to [http://localhost:3000/blogs](http://localhost:3000/blogs) and see if everything works. \n10. \n\n \t\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvbtham%2Frails-circleci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvbtham%2Frails-circleci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvbtham%2Frails-circleci/lists"}