{"id":18489724,"url":"https://github.com/abicky/sample-data-railsdm-2018","last_synced_at":"2025-05-13T23:34:50.317Z","repository":{"id":139218584,"uuid":"126651668","full_name":"abicky/sample-data-railsdm-2018","owner":"abicky","description":"Sample data of my presentation at Rails Developers Meetup 2018","archived":false,"fork":false,"pushed_at":"2022-06-02T17:58:01.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T06:37:58.308Z","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/abicky.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":"2018-03-25T00:30:35.000Z","updated_at":"2022-06-02T17:34:26.000Z","dependencies_parsed_at":"2024-07-09T16:47:42.599Z","dependency_job_id":null,"html_url":"https://github.com/abicky/sample-data-railsdm-2018","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/abicky%2Fsample-data-railsdm-2018","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abicky%2Fsample-data-railsdm-2018/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abicky%2Fsample-data-railsdm-2018/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abicky%2Fsample-data-railsdm-2018/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abicky","download_url":"https://codeload.github.com/abicky/sample-data-railsdm-2018/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254043217,"owners_count":22004912,"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-06T12:57:40.740Z","updated_at":"2025-05-13T23:34:50.261Z","avatar_url":"https://github.com/abicky.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample data of my presentation at Rails Developers Meetup 2018\n\nThis repository is used to create the sample data used in [my presentation](https://abicky.net/2018/03/25/141353/) [In Japanese].\n\n## ER Diagram\n\n![ER Diagram](ER_diagram.svg)\n\n## Prerequisites\n\nSet the following environment variables:\n\nName | Default\n-----|----------\nMYSQL_DATABASE | railsdm2018\nMYSQL_USER | root\nMYSQL_PASSWORD |\nMYSQL_HOST | localhost\nMYSQL_PORT | 3306\n\n## Setup tables\n\n```\n./bin/setup\n```\n\n## Insert sample data\n\n```\nrake db:insert\n```\n\n## Use sample models\n\n```\n% ./bin/console\n[1] pry(main)\u003e User.count\n  User Count (0.8ms)  SELECT COUNT(*) FROM `users`\n=\u003e 100\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabicky%2Fsample-data-railsdm-2018","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabicky%2Fsample-data-railsdm-2018","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabicky%2Fsample-data-railsdm-2018/lists"}