-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Is your feature request related to a problem? Please describe.
There have been several recent issues (e.g. #482) about differences between the development and production builds of the app. As a developer, I would like to be able to test fixes for the issues. Currently the README contains instructions for building the development version locally, and there's an open issue to document how to deploy the production app remotely (#471), but there's no documented way to build the production app locally.
Describe the solution you'd like
A documented sequence of commands, perhaps in the README, that build and serve the production app locally.
For developers
As an outline, one could first build the production app, then follow all the steps to serve the development app locally, and finally take down the web container and replace it with serve build.
More ideally, we would have a docker-compose.livewire-localtest.yml file that can be included in the docker-compose call that gets all the settings right to run the production version of the app locally. This would replace docker-compose.livewire.yml in the commands in steps 7 and 8 at the bottom of /.github/deployment.md.