A server-side rendered faceted search UI demo featuring StimulusReflex and AllFutures.
- bundle install
- yarn install
- bin/setup
Make sure that if you don't run bin/setup that you run rake db:seed manually.
Make sure that your Postgres and Redis settings are configured via the REDIS_URL environment variable.
You can also run the entire application and its dependencies with Docker.
git clone https://github.com/leastbad/beast_mode.git
cd beast_mode
bin/docker/upNOTE: You may need to run bin/docker/up more than once on initial boot
-
bin/docker/up- starts the entire containerized environment -
bin/docker/down- stops all services and removes containers, networks, volumes, and images -
bin/docker/start- starts stopped containersbin/docker/start bin/docker/start web bin/docker/start webpack
-
bin/docker/stop- stops containers without removing thembin/docker/stop bin/docker/stop web bin/docker/stop webpack
-
bin/docker/restart- restarts containersbin/docker/restart bin/docker/restart web bin/docker/restart webpack
-
bin/docker/attach- attach to container, useful for debugging with pry and byebugbin/docker/attach web bin/docker/attach webpack <CTRL-P><CTRL-Q>
-
bin/docker/exec- executes a command inside the shell containerbin/docker/exec bash
-
bin/docker/tail- tail logs in a containerbin/docker/tail web bin/docker/tail webpack
-
bin/docker/rails- executes a rails command inside the shell containerbin/docker/rails c bin/docker/rails db:migrate
-
Add a breakpoint to the project
binding.pry
-
Attach to the appropriate container to debug
bin/docker/attach web
-
Detach from the container when finished
<CTRL-P><CTRL-Q>
