{"id":17794542,"url":"https://github.com/kjunichi/gaedodev","last_synced_at":"2025-04-02T02:25:59.486Z","repository":{"id":18301706,"uuid":"21477705","full_name":"kjunichi/gaedodev","owner":"kjunichi","description":"Google App EngineをGo言語で開発する使い捨ての環境（仮）","archived":false,"fork":false,"pushed_at":"2014-07-05T00:09:22.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T17:31:45.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"sixro/confluence-maven-plugin","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kjunichi.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":"2014-07-03T21:36:46.000Z","updated_at":"2014-07-03T21:37:15.000Z","dependencies_parsed_at":"2022-09-02T18:31:34.973Z","dependency_job_id":null,"html_url":"https://github.com/kjunichi/gaedodev","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/kjunichi%2Fgaedodev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjunichi%2Fgaedodev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjunichi%2Fgaedodev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjunichi%2Fgaedodev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kjunichi","download_url":"https://codeload.github.com/kjunichi/gaedodev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246742634,"owners_count":20826373,"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-10-27T11:16:51.621Z","updated_at":"2025-04-02T02:25:59.466Z","avatar_url":"https://github.com/kjunichi.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# これは何\n\n使い捨てのGoogle App Engine/Goの開発環境を目指すDockerfile\n\n# 使い方\n\n```bash\ndocker build -t mygodevenv .\n```\n\n```bash\ndocker run -d -v /root/work --name my-work -p 18080:8080 -p 1022:22 mygodevenv\ndocker run --rm -v /usr/local/bin/docker:/docker -v /var/run/docker.sock:/docker.sock svendowideit/samba my-work\n```\n\n表示されたメッセージに従いsambaのボリュームをローカルでマウントする\n\nマウントしたフォルダにmyappというフォルダを作り、\nファイルを用意してAtom.ioなどの好きなエディタで開発をする\n\n## ローカル（コンテナ内）での実行方法\n\n### OSX以外\n\n```bash\nssh root@localhost -p 1022\n```\n\n### OSX\n\n```bash\nboot2docker ip\n```\n\n以下の192.168.59.103の部分は上記のコマンドで表示されたIPアドレスを使用する。\n\n```bash\nssh root@192.168.59.103 -p 1022\n```\n\nパスワードはgolang123\n\n### GAEを動かす\n\n```bash\n/usr/local/go_appeinge serve --host 0.0.0.0 work/myapp/\n```\n\n注: --host 0.0.0.0を付けないと、コンテナ外からアクセスできない\n\nOSXはboot2docker ipで表示されたIPアドレス:18080、他はlocalhost:18080を\nホスト側（dockerコマンドを実行している側）のブラウザで開く\n\n## 終了\n\n成果物をGithubにコミットするなり、外界に保存する。\n\n```bash\ndocker stop my-work\ndocker rm my-work\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjunichi%2Fgaedodev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkjunichi%2Fgaedodev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjunichi%2Fgaedodev/lists"}