{"id":29626337,"url":"https://github.com/kajilabteam/hacku-2023-back","last_synced_at":"2025-07-21T07:05:56.551Z","repository":{"id":186864284,"uuid":"675769680","full_name":"kajiLabTeam/hacku-2023-back","owner":"kajiLabTeam","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-26T00:04:25.000Z","size":318,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-24T07:36:56.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/kajiLabTeam.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}},"created_at":"2023-08-07T17:18:35.000Z","updated_at":"2023-08-08T07:06:18.000Z","dependencies_parsed_at":"2023-08-08T03:08:09.021Z","dependency_job_id":null,"html_url":"https://github.com/kajiLabTeam/hacku-2023-back","commit_stats":null,"previous_names":["kajilabteam/hacku-2023-back"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kajiLabTeam/hacku-2023-back","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kajiLabTeam%2Fhacku-2023-back","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kajiLabTeam%2Fhacku-2023-back/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kajiLabTeam%2Fhacku-2023-back/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kajiLabTeam%2Fhacku-2023-back/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kajiLabTeam","download_url":"https://codeload.github.com/kajiLabTeam/hacku-2023-back/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kajiLabTeam%2Fhacku-2023-back/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266255461,"owners_count":23900147,"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-07-21T07:05:54.207Z","updated_at":"2025-07-21T07:05:56.540Z","avatar_url":"https://github.com/kajiLabTeam.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## MySQLコンテナとVoicevoxコンテナとGoコンテナの立ち上げ方\n以下のコマンドをhacku-2023-backディレクトリで実行し、コンテナを立ち上げる\n```\nmake up\n```\n### コンテナが正しく動いているか確認したい場合\n```\nmake log\n```\n\n## MySQLのコンテナのサーバーにログインする\n以下のコマンドをhacku-2023-backディレクトリで実行する\n```\nmake mysql\n```\n\n## Goコンテナに入る\n以下のコマンドをhacku-2023-backディレクトリで実行する\n```\nmake go\n```\n\n## Voicevoxコンテナに入る\n以下のコマンドをhacku-2023-backディレクトリで実行する\n```\nmake voicevox\n```\n\n## GoとMySQLの接続時に注意すること\n**mysql.ymlを変更してください**\n### ローカルで実行したGoからDockerコンテナ内のMySQLに接続する時\n\n```mysql.yml\nmysql:\n  user: root\n  password: admin\n  protocol: tcp(localhost:3306)\n  dbname: data_sets\n```\n\n### DockerコンテナのGoからDockerコンテナ内のMySQLに接続する時\n```mysql.yml\nmysql:\n  user: root\n  password: admin\n  protocol: tcp(HackU2023_Nagoya_DB:3306)\n  dbname: data_sets\n```\n\n\n## どうしてもコンテナがうまく立ち上がらなかった時\n以下のコマンドでDocker環境を初期化してください\n```\n docker stop $(docker ps -aq)\n docker rm $(docker ps -aq)\n \n docker network prune -f\n docker rmi -f $(docker images --filter dangling=true -qa)\n docker volume rm $(docker volume ls --filter dangling=true -q)\n docker rmi -f $(docker images -qa)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkajilabteam%2Fhacku-2023-back","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkajilabteam%2Fhacku-2023-back","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkajilabteam%2Fhacku-2023-back/lists"}