{"id":13879258,"url":"https://github.com/anycable/anycable_rails_demo","last_synced_at":"2025-04-07T12:06:46.159Z","repository":{"id":40777793,"uuid":"260157843","full_name":"anycable/anycable_rails_demo","owner":"anycable","description":"AnyCable Rails demo application and its different variations","archived":false,"fork":false,"pushed_at":"2024-06-27T15:23:47.000Z","size":1541,"stargazers_count":216,"open_issues_count":21,"forks_count":53,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-31T10:06:24.840Z","etag":null,"topics":["anycable","demo","rails","websockets"],"latest_commit_sha":null,"homepage":"http://demo.anycable.io/","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/anycable.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","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":"2020-04-30T08:40:22.000Z","updated_at":"2025-01-14T02:01:30.000Z","dependencies_parsed_at":"2024-05-28T20:08:15.404Z","dependency_job_id":"3c9a292a-52e2-4251-b7d6-ac8f43445f00","html_url":"https://github.com/anycable/anycable_rails_demo","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/anycable%2Fanycable_rails_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anycable%2Fanycable_rails_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anycable%2Fanycable_rails_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anycable%2Fanycable_rails_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anycable","download_url":"https://codeload.github.com/anycable/anycable_rails_demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648977,"owners_count":20972945,"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":["anycable","demo","rails","websockets"],"created_at":"2024-08-06T08:02:15.500Z","updated_at":"2025-04-07T12:06:46.125Z","avatar_url":"https://github.com/anycable.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"![Unit Tests](https://github.com/anycable/anycable_rails_demo/workflows/Unit%20Tests/badge.svg)\n![System Tests](https://github.com/anycable/anycable_rails_demo/workflows/System%20Tests/badge.svg)\n\n# AnyCable Rails Demo\n\nThis repository contains the code for AnyCable Rails demo application and its different variations.\n\n[List of all demonstration PRs](https://github.com/anycable/anycable_rails_demo/pulls?q=is%3Apr++label%3Ademo+)\n\n\u003cimg align=\"center\" width=\"1416\"\n     title=\"AnyWork screenshot\" src=\"./public/demo.png\"\u003e\n\n## Installation\n\nThis app has a Docker-first configuration based one the [Ruby on Whales post](https://evilmartians.com/chronicles/ruby-on-whales-docker-for-ruby-rails-development).\n\nYou need:\n\n- Docker installed.\n\nFor MacOS just use [official app](https://docs.docker.com/engine/installation/mac/).\n\n- [Dip](https://github.com/bibendi/dip) installed.\n\nRun the following command to build images and provision the application:\n\n```sh\ndip provision\n```\n\n## Running\n\nYou can start Rails server along with AnyCable by running:\n\n```sh\ndip up web\n```\n\nThen go to [http://localhost:3000/](http://localhost:3000/) and see the application in action.\n\n## Debugging\n\nIf you want to run Rails server and/or with debugging capabilities, run the following commands:\n\n```sh\n# for Rails server\ndip rails s\n```\n\n## Testing\n\nWe separate unit and system specs and provide convenient Dip commands to run them:\n\n```sh\n# only unit tests\ndip rspec\n\n# only system tests\ndip rspec system\n```\n\n## Resources\n\n- [Ruby on Whales](https://evilmartians.com/chronicles/ruby-on-whales-docker-for-ruby-rails-development)—learn about the Docker development setup used for this application.\n- [RuboCoping with legacy](https://evilmartians.com/chronicles/rubocoping-with-legacy-bring-your-ruby-code-up-to-standard)—this is how we configure RuboCop.\n- [Evil Front](https://evilmartians.com/chronicles/evil-front-part-3)—some frontend ideas are borrowed from this post.\n- [Ruby Next](https://evilmartians.com/chronicles/ruby-next-make-all-rubies-quack-alike)—we're using the edge Ruby syntax!\n- [System of a test](https://evilmartians.com/chronicles/system-of-a-test-setting-up-end-to-end-rails-testing)—our system tests setup.\n\n## Aknowledgements\n\nBuilt and tested with the help of these awesome technologies:\n\n- [Tailwind CSS](https://tailwindcss.com)\n- [StimulusJS](https://stimulusjs.org)\n- [Cuprite](https://github.com/rubycdp/cuprite) \u0026 [Browserless](https://www.browserless.io)\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at [https://github.com/anycable/anycable_rails_demo](https://github.com/anycable/anycable_rails_demo).\n\n## License\n\nThe application is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanycable%2Fanycable_rails_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanycable%2Fanycable_rails_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanycable%2Fanycable_rails_demo/lists"}