{"id":21725615,"url":"https://github.com/dunghenry/rails_mysql","last_synced_at":"2026-04-10T17:22:48.359Z","repository":{"id":107273046,"uuid":"571226674","full_name":"dunghenry/rails_mysql","owner":"dunghenry","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-28T03:29:39.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T19:28:56.367Z","etag":null,"topics":["docker","docker-compose","mysql","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","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/dunghenry.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":"2022-11-27T15:16:18.000Z","updated_at":"2022-11-27T17:18:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"276f5771-11b0-4c18-abc4-8c4e3ddb5da5","html_url":"https://github.com/dunghenry/rails_mysql","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/dunghenry%2Frails_mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunghenry%2Frails_mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunghenry%2Frails_mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dunghenry%2Frails_mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dunghenry","download_url":"https://codeload.github.com/dunghenry/rails_mysql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244706520,"owners_count":20496570,"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":["docker","docker-compose","mysql","ruby-on-rails"],"created_at":"2024-11-26T03:19:36.581Z","updated_at":"2025-12-31T00:03:46.854Z","avatar_url":"https://github.com/dunghenry.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby on Rails + Docker + MySQL\n\n### Create project\n\n```js\nrails new server -d mysql --skip-bundle --api\n```\n\n### Install package\n\n```js\nbundle install\n```\n\n### Run server\n\n```js\nrails s\n```\n\n```js\nrails server\n```\n\n```js\nbin/rails server\n```\n\n### Migration\n\n```js\nrails g migration CreateUsers name:string age:integer\n```\n\n### Migrate\n\n```js\nbin/rails db:migrate\n```\n\n### Create model, controller, migration\n\n```js\nbin/rails generate scaffold User name:string email:uniq password:digest\n```\n\n### Active\n\n```js\nRAILS_ENV=development bundle exec rake db:migrate\n\n```\n\n### Console db\n\n```js\nbin/rails c\n```\n\n### Exit console db\n\n```js\nquit;\n```\n\n### Run docker\n\n```js\ndocker-compose up\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdunghenry%2Frails_mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdunghenry%2Frails_mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdunghenry%2Frails_mysql/lists"}