Lookbook does not require any configuration changes to run in production. However it must be set up correctly so that it is loaded in both development and production environments.
Ensure Lookbook is added to the
production group in your
group :development, :production do
The installation instructions include a check that the app is running in
mounting the Lookbook engine. This code will need to be removed to run Lookbook in production.
# if Rails.env.development? <-- remove
mount Lookbook::Engine, at: "/lookbook"
# end <-- remove
File watching is disabled in production.
If using the
listen gems in development to enable live reloading, these can be omitted from the
production gem group.