{"id":21285538,"url":"https://github.com/takeyuweb/rails-fluxchat-example","last_synced_at":"2025-07-11T11:32:24.483Z","repository":{"id":66907457,"uuid":"42441423","full_name":"takeyuweb/rails-fluxchat-example","owner":"takeyuweb","description":"Flux + WebSocketで簡単なチャットを作ってみます。","archived":false,"fork":false,"pushed_at":"2015-10-23T14:31:56.000Z","size":228,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T03:12:40.611Z","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/takeyuweb.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":"2015-09-14T10:08:15.000Z","updated_at":"2016-10-31T12:39:35.000Z","dependencies_parsed_at":"2023-02-24T04:00:43.631Z","dependency_job_id":null,"html_url":"https://github.com/takeyuweb/rails-fluxchat-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/takeyuweb/rails-fluxchat-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Frails-fluxchat-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Frails-fluxchat-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Frails-fluxchat-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Frails-fluxchat-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takeyuweb","download_url":"https://codeload.github.com/takeyuweb/rails-fluxchat-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Frails-fluxchat-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264795397,"owners_count":23665229,"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-11-21T11:21:01.707Z","updated_at":"2025-07-11T11:32:24.242Z","avatar_url":"https://github.com/takeyuweb.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"README\n---\n\nrails-fluxchat-example\n\n- Rails 4.2\n- ActionCable\n- ES6\n- React\n- Flux (Alt)\n\n## Demo\n\nhttp://fluxchat.takeyu-web.com/\n\n## Starting the servers\n\n```bash\ngit clone https://github.com/takeyuweb/rails-fluxchat-example.git\ncd rails-fluxchat-example\nnpm install\nbundle install\nbundle exec rake db:migrate\nbundle exec rake bower:install\n./bin/cable\nbundle exec rails s\nredis-server\n```\n\nVisit `http://localhost:3000`\n\n\n## Using gems\n\n- bower-rails\n- react-rails\n- sprockets-es6\n- browserify-rails\n- actioncable\n\n## Heroku\n\nmemo\n\n```bash\nheroku create fluxchat --remote rails\nheroku create fluxchat-actioncable --remote actioncable\nheroku buildpacks:set https://github.com/heroku/heroku-buildpack-multi.git --app fluxchat\nheroku buildpacks:set https://github.com/heroku/heroku-buildpack-multi.git --app fluxchat-actioncable\nheroku config:add PROCFILE_PATH=Procfile.rails --app fluxchat\nheroku config:add PROCFILE_PATH=Procfile.actioncable --app fluxchat-actioncable\nheroku config:add REDIS_URL=redis://rediscloud:xxxxxxxxxxxxxx@pub-redis-18876.us-east-1-2.4.ec2.garantiadata.com:18876 --app fluxchat\nheroku config:add REDIS_URL=redis://rediscloud:Qxxxxxxxxxxxxxxx@pub-redis-18876.us-east-1-2.4.ec2.garantiadata.com:18876 --app fluxchat-actioncable\nheroku config:set BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-multi.git --app fluxchat-actioncable\nheroku config:set DATABASE_URL=postgres://xxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxx@ec2-50-16-229-89.compute-1.amazonaws.com:5432/xxxxxxxxxxxxxxxxxxx --app fluxchat-actioncable\n\nheroku domains:add fluxchat.takeyu-web.com --app fluxchat\nheroku domains:add fluxchat-actioncable.takeyu-web.com --app fluxchat-actioncable\nheroku config:set CABLE_URL=fluxchat-actioncable.takeyu-web.com --app fluxchat\nheroku config:set CABLE_URL=fluxchat-actioncable.takeyu-web.com --app fluxchat-actioncable\nheroku config:set CABLE_PORT=80 --app fluxchat\nheroku config:set CABLE_PORT=80 --app fluxchat-actioncable\nheroku config:set CABLE_PROTOCOL=ws --app fluxchat\nheroku config:set CABLE_PROTOCOL=ws --app fluxchat-actioncable\nheroku config:set COOKIE_DOMAIN=.takeyu-web.com --app fluxchat\nheroku config:set COOKIE_DOMAIN=.takeyu-web.com --app fluxchat-actioncable\nheroku config:set SECRET_KEY_BASE=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --app fluxchat-actioncable\n\ngit push heroku heroku:master\ngit push actioncable heroku:master\n\nheroku logs --tail --app fluxchat\nheroku logs --tail --app fluxchat-actioncable\n```\n\n抜けあるかも\n\n参考 http://stackoverflow.com/questions/31644603/deploying-ruby-on-rails-app-to-heroku-while-using-action-cable-puma-port-listen\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakeyuweb%2Frails-fluxchat-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakeyuweb%2Frails-fluxchat-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakeyuweb%2Frails-fluxchat-example/lists"}