{"id":19811478,"url":"https://github.com/chandan-devs-tech/hellorails","last_synced_at":"2025-07-12T15:04:14.189Z","repository":{"id":240249042,"uuid":"699923932","full_name":"Chandan-devs-tech/hellorails","owner":"Chandan-devs-tech","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-03T15:55:03.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T18:46:55.781Z","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/Chandan-devs-tech.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}},"created_at":"2023-10-03T15:50:07.000Z","updated_at":"2023-10-23T15:59:15.000Z","dependencies_parsed_at":"2024-05-17T15:59:01.798Z","dependency_job_id":null,"html_url":"https://github.com/Chandan-devs-tech/hellorails","commit_stats":null,"previous_names":["chandan-devs-tech/hellorails"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Chandan-devs-tech/hellorails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chandan-devs-tech%2Fhellorails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chandan-devs-tech%2Fhellorails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chandan-devs-tech%2Fhellorails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chandan-devs-tech%2Fhellorails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chandan-devs-tech","download_url":"https://codeload.github.com/Chandan-devs-tech/hellorails/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chandan-devs-tech%2Fhellorails/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265009201,"owners_count":23697154,"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":"2024-11-12T09:26:39.672Z","updated_at":"2025-07-12T15:04:13.887Z","avatar_url":"https://github.com/Chandan-devs-tech.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\nI have done this exercise following these steps :\n- Install rails :\n```\ngem install rails\n```\n- For checking the version of your rails :\n```\nrails --version\n```\n- Create a new app called 'hellorails'.\n```\nrails new hellorails --database=postgresql\n```\n- Initialize your project with Git.\n```\ngit init\n```\n- Make sure that your project has Postgres database set up.\n  - Configure the config/database.yml file :\n```\ndefault: \u0026default\n  adapter: postgresql\n  encoding: unicode\n  pool: \u003c%= ENV.fetch(\"RAILS_MAX_THREADS\") { 5 } %\u003e\n  username: postgres\n  password: postgre1990\n  host: localhost\ndevelopment:\n  \u003c\u003c: *default\n  database: hellorails_development\ntest:\n  \u003c\u003c: *default\n  database: hellorails_test\nproduction:\n  \u003c\u003c: *default\n  database: hellorails_production\n```\n  - gem install pg\n  - check the GemFile to have `gem \"pg\", \"~\u003e 1.1\"`\n  - bundle install\n  - `rails db:create`\n  - `rails db:migrate`\n- Run rails server and visit http://localhost:3000/ in your browser!\n`rails server`\nFor Play with your first Rails website :\n- `rails generate controller Pages hello`\n- Open the file `app/views/pages/hello.html.erb` and add an `h1` element saying `Hello world`.\n- Open http://localhost:3000/pages/hello in your browser. You should see your \"Hello world\" message.\n- In `config/routes.rb` replace get `pages#hello` with root `pages#hello`\n- Revisit http://localhost:3000/ and see your changes in action. Now your `Hello world` page should be displayed as the main page.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandan-devs-tech%2Fhellorails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchandan-devs-tech%2Fhellorails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandan-devs-tech%2Fhellorails/lists"}