{"id":23300989,"url":"https://github.com/shts/keyakifeed-api","last_synced_at":"2026-07-15T20:31:08.949Z","repository":{"id":83566030,"uuid":"54338338","full_name":"shts/keyakifeed-api","owner":"shts","description":null,"archived":false,"fork":false,"pushed_at":"2016-11-19T16:43:12.000Z","size":518,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T11:05:57.429Z","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/shts.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":"2016-03-20T20:19:33.000Z","updated_at":"2016-03-20T20:20:01.000Z","dependencies_parsed_at":"2023-07-07T19:33:53.553Z","dependency_job_id":null,"html_url":"https://github.com/shts/keyakifeed-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shts/keyakifeed-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shts%2Fkeyakifeed-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shts%2Fkeyakifeed-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shts%2Fkeyakifeed-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shts%2Fkeyakifeed-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shts","download_url":"https://codeload.github.com/shts/keyakifeed-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shts%2Fkeyakifeed-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259964327,"owners_count":22938724,"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-12-20T09:20:04.463Z","updated_at":"2025-10-16T17:49:13.753Z","avatar_url":"https://github.com/shts.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n### DB初期化について\n\ndb/api.db, db/migrate/schema.rb を削除後、下記コマンドを実行\n\n```\n$ bundle exec rake app:create_all\n```\n\n### 再起動時に行なうコマンド\n\nTODO: 不要なようにOSで自動起動するよう設定する\n\n**Unicornの起動**\n\n```\n$ bundle exec unicorn -E production -c unicorn.rb -D\n```\n\n**Nginxの起動**\n\n\n```\n$ nginx\n```\n\n＃不要かも\n\n**Crawlerの起動**\n\n```\n$ sh deamon_crawler_entries start\n```\n\n\n\n### デーモンスクリプト操作\n\n実行権限を付与しておくこと\n\n```\n$ chmod +x deamon_crawler_entries\n```\n\n\n**開始**\n\n```\n$ sh deamon_crawler_entries start\n```\n\nor\n\n```\n$ ./deamon_crawler_entries start\n```\n\n\n**停止**\n\n```\n$ sh deamon_crawler_entries stop\n```\n\n**停止＆開始**\n\n```\n$ sh deamon_crawler_entries restart\n```\n\n### デーモン停止\n\nhttp://www.mk-mode.com/octopress/2013/10/06/ruby-daemonize-script/\n```\n$ ps aux | grep {$script_file_name} | grep -v grep\n```\n\nex)\n```\n$ ps aux | grep crawler.rb | grep -v grep\nsaitoushouta    15188[pid]   0.0  0.0  2507528   1420   ??  S     2:08PM   0:00.00 ruby crawler.rb\n```\n\n```\n$ kill -9 {$pid}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshts%2Fkeyakifeed-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshts%2Fkeyakifeed-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshts%2Fkeyakifeed-api/lists"}