{"id":19667254,"url":"https://github.com/willnet/awesome_events","last_synced_at":"2026-03-05T21:31:35.877Z","repository":{"id":14231123,"uuid":"16938166","full_name":"willnet/awesome_events","owner":"willnet","description":"パーフェクト Ruby on Rails のサンプルアプリ","archived":false,"fork":false,"pushed_at":"2019-01-26T05:45:19.000Z","size":521,"stargazers_count":82,"open_issues_count":0,"forks_count":13,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-10-31T06:02:50.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://gihyo.jp/book/2014/978-4-7741-6516-5","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-18T05:32:24.000Z","updated_at":"2025-07-22T05:43:40.000Z","dependencies_parsed_at":"2022-07-10T05:46:21.273Z","dependency_job_id":null,"html_url":"https://github.com/willnet/awesome_events","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willnet/awesome_events","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fawesome_events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fawesome_events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fawesome_events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fawesome_events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willnet","download_url":"https://codeload.github.com/willnet/awesome_events/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fawesome_events/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30150409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T21:15:50.531Z","status":"ssl_error","status_checked_at":"2026-03-05T21:15:11.173Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11T16:31:23.311Z","updated_at":"2026-03-05T21:31:35.857Z","avatar_url":"https://github.com/willnet.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# awesome events\n\nこれは、[パーフェクトRuby on Rails](http://gihyo.jp/book/2014/978-4-7741-6516-5)のPart3で作成されたサンプルアプリです。\n\nイベント情報を登録／編集したり、イベントに参加登録したりできます。\n\n## 前提条件\n\n次のライブラリをインストールしておいてください。詳しくは書籍を参考にしてください。\n\n* Ruby 2.0.0 以上\n* bundler\n* sqlite3\n* phantomjs\n* nodejs\n* ImageMagick\n\n\n## セットアップ方法\n\nまず次のコマンドを実行します。\n\n```\ngit clone git@github.com:willnet/awesome_events.git\ncd awesome_events\n./bin/bundle install\n./bin/rake db:migrate\n```\n\n[Twitter Application Management](https://apps.twitter.com/) で、書籍の通りにTwitterアプリケーションを作成し、作成したアプリケーションの Twitter Api Key と Twitter Api Secret を `config/secrets.yml` に記述します。その後、次のコマンドで WEBrick を起動します。\n\n```\n./bin/rails s\n```\n\nhttp://localhost:3000/ にアクセスすると、トップページが表示されているはずです。\n\n8章に記述されている Vagrant にソースコードをデプロイする場合は、書籍の通りに Vagrant 環境を設定し、次のコマンドでデプロイします。\n\n```\n./bin/bundle exec cap staging deploy\n```\n\n### テストの実行方法\n\nテストを実行する場合は、次のようにします。\n\n```\n./bin/bundle rake spec\n```\n\n特定のテストを実行したい場合は次のようにします。例として event_spec.rb を実行するものとします。\n\n```\n./bin/bundle exec rspec spec/models/event_spec.rb\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillnet%2Fawesome_events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillnet%2Fawesome_events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillnet%2Fawesome_events/lists"}