100% server-side rendered faceted search UI demo. Featuring StimulusReflex and All Futures.
A server-side rendered faceted search UI demo featuring StimulusReflex and AllFutures.
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/up
NOTE: 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 containers
bin/docker/start
bin/docker/start web
bin/docker/start webpack
bin/docker/stop
- stops containers without removing them
bin/docker/stop
bin/docker/stop web
bin/docker/stop webpack
bin/docker/restart
- restarts containers
bin/docker/restart
bin/docker/restart web
bin/docker/restart webpack
bin/docker/attach
- attach to container, useful for debugging with pry and byebug
bin/docker/attach web
bin/docker/attach webpack
<CTRL-P><CTRL-Q>
bin/docker/exec
- executes a command inside the shell container
bin/docker/exec bash
bin/docker/tail
- tail logs in a container
bin/docker/tail web
bin/docker/tail webpack
bin/docker/rails
- executes a rails command inside the shell container
bin/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>