{"id":18321286,"url":"https://github.com/driftingruby/003-actioncable-in-production","last_synced_at":"2025-04-09T14:32:37.547Z","repository":{"id":74216163,"uuid":"39422087","full_name":"driftingruby/003-actioncable-in-production","owner":"driftingruby","description":"Taking a look at ActionCable and switching from Puma to Thin. On server reboot, spin up the ActionCable service.","archived":false,"fork":false,"pushed_at":"2015-07-21T03:33:28.000Z","size":136,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T08:31:37.921Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.driftingruby.com/episodes/actioncable-on-production","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/driftingruby.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-07-21T03:33:08.000Z","updated_at":"2016-10-17T02:52:48.000Z","dependencies_parsed_at":"2023-02-24T15:40:57.837Z","dependency_job_id":null,"html_url":"https://github.com/driftingruby/003-actioncable-in-production","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/driftingruby%2F003-actioncable-in-production","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driftingruby%2F003-actioncable-in-production/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driftingruby%2F003-actioncable-in-production/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driftingruby%2F003-actioncable-in-production/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/driftingruby","download_url":"https://codeload.github.com/driftingruby/003-actioncable-in-production/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055194,"owners_count":21040136,"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-05T18:18:56.963Z","updated_at":"2025-04-09T14:32:37.515Z","avatar_url":"https://github.com/driftingruby.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Action Cable Examples\n\nA collection of examples showcasing the capabilities of Action Cable.\n\n## Dependencies\n\nYou must have redis installed and running on the default port:6379 (or configure it in config/redis/cable.yml).\n\n### Installing Redis\n##### On Linux\n* `wget http://download.redis.io/redis-stable.tar.gz`\n* `tar xvzf redis-stable.tar.gz`\n* `cd redis-stable`\n* `make`\n* `make install`\n\n##### On Mac\n* `brew install redis`\n\n###### Note: You must have Ruby 2.2.2 installed in order to use redis\n\n## Starting the servers\n\n1. Run `./bin/setup`\n2. Run `./bin/cable`\n3. Open up a separate terminal and run: `./bin/rails server`\n4. One more terminal to run redis server: `redis-server`\n4. Visit `http://localhost:3000`\n\n## Live comments example\n\n1. Open two browsers with separate cookie spaces (like a regular session and an incognito session). \n2. Login as different people in each browser. \n3. Go to the same message.\n4. Add comments in either browser and see them appear real-time on the counterpart screen.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdriftingruby%2F003-actioncable-in-production","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdriftingruby%2F003-actioncable-in-production","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdriftingruby%2F003-actioncable-in-production/lists"}