{"id":13878872,"url":"https://github.com/leastbad/beast_mode","last_synced_at":"2025-04-28T10:26:38.168Z","repository":{"id":41202059,"uuid":"359869633","full_name":"leastbad/beast_mode","owner":"leastbad","description":"100% server-side rendered faceted search UI demo. Featuring StimulusReflex and All Futures.","archived":false,"fork":false,"pushed_at":"2022-03-25T11:50:21.000Z","size":2812,"stargazers_count":63,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-28T10:26:17.848Z","etag":null,"topics":["rails","stimulusreflex","websockets"],"latest_commit_sha":null,"homepage":"https://beastmode.leastbad.com","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/leastbad.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":"2021-04-20T15:44:39.000Z","updated_at":"2024-09-16T07:24:14.000Z","dependencies_parsed_at":"2022-08-10T01:43:10.652Z","dependency_job_id":null,"html_url":"https://github.com/leastbad/beast_mode","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leastbad%2Fbeast_mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leastbad%2Fbeast_mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leastbad%2Fbeast_mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leastbad%2Fbeast_mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leastbad","download_url":"https://codeload.github.com/leastbad/beast_mode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251293804,"owners_count":21566152,"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":["rails","stimulusreflex","websockets"],"created_at":"2024-08-06T08:02:02.800Z","updated_at":"2025-04-28T10:26:38.130Z","avatar_url":"https://github.com/leastbad.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# Beast Mode StimulusReflex\n\nA server-side rendered faceted search UI demo featuring [StimulusReflex](https://docs.stimulusreflex.com) and [AllFutures](https://github.com/leastbad/all_futures).\n\n## Installation\n\n1. bundle install\n2. yarn install\n3. bin/setup\n\nMake sure that if you *don't* run `bin/setup` that you run `rake db:seed` manually.\n\n## Dependencies\n\nMake sure that your Postgres and Redis settings are configured via the `REDIS_URL` environment variable.\n\n## Docker\n\nYou can also run the entire application and its dependencies with Docker.\n\n```sh\ngit clone https://github.com/leastbad/beast_mode.git\ncd beast_mode\nbin/docker/up\n```\n\n*NOTE: You may need to run `bin/docker/up` more than once on initial boot*\n\n### Docker binstubs\n\n- `bin/docker/up` - starts the entire containerized environment\n- `bin/docker/down` - stops all services and removes containers, networks, volumes, and images\n- `bin/docker/start` - starts stopped containers\n\n    ```sh\n    bin/docker/start\n    bin/docker/start web\n    bin/docker/start webpack\n    ```\n\n- `bin/docker/stop` - stops containers without removing them\n\n    ```sh\n    bin/docker/stop\n    bin/docker/stop web\n    bin/docker/stop webpack\n    ```\n\n- `bin/docker/restart` - restarts containers\n\n    ```sh\n    bin/docker/restart\n    bin/docker/restart web\n    bin/docker/restart webpack\n    ```\n\n- `bin/docker/attach` - attach to container, _useful for debugging with pry and byebug_\n\n    ```sh\n    bin/docker/attach web\n    bin/docker/attach webpack\n    \u003cCTRL-P\u003e\u003cCTRL-Q\u003e\n    ```\n\n- `bin/docker/exec` - executes a command inside the shell container\n\n    ```sh\n    bin/docker/exec bash\n    ```\n\n- `bin/docker/tail` - tail logs in a container\n\n    ```sh\n    bin/docker/tail web\n    bin/docker/tail webpack\n    ```\n\n- `bin/docker/rails` - executes a rails command inside the shell container\n\n    ```sh\n    bin/docker/rails c\n    bin/docker/rails db:migrate\n    ```\n\n### Debugging with Docker\n\n1. Add a breakpoint to the project\n\n    ```ruby\n    binding.pry\n    ```\n\n2. Attach to the appropriate container to debug\n\n    ```sh\n    bin/docker/attach web\n    ```\n\n3. Detach from the container when finished\n\n    ```sh\n    \u003cCTRL-P\u003e\u003cCTRL-Q\u003e\n    ```\n\n[![](http://img.youtube.com/vi/Fbo21aWFbhQ/0.jpg)](http://www.youtube.com/watch?v=Fbo21aWFbhQ \"\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleastbad%2Fbeast_mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleastbad%2Fbeast_mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleastbad%2Fbeast_mode/lists"}