wpstarter icon indicating copy to clipboard operation
wpstarter copied to clipboard

Documentation: how to publish wpstarter branch-based app builds, similar to Netlify etc JS apps

Open lkraav opened this issue 3 years ago • 2 comments

Is your feature request related to a problem?

Dev team looks to publish wpstarter-based app branch changes for pre-merge QA for various other teams, product team for one.

Describe the solution you'd like

After a wpstarter branch is pushed to GH, an action builds it, publishes an access URL at the bottom of PR screen, similar to Netlify etc

Describe alternatives you've considered

Tunneling localhost builds, but almost all of the experience is worse with it.

Additional context

Maybe later, after some discussion whether this is even possible to achieve with a non-static app like WP?

lkraav avatar Jul 13 '22 11:07 lkraav

Not sure this is something that has anything to do with WP Starter.

These days there are many ways to build app stacks "on demand" for testing. One of the simplest way is probably Heroku Flow.

The thing is that modern PHP apps have a composer.json file and everything is needed to spin-up the code is a composer install.

WP Starter brings that into the WordPress world, so you can use any of the "cloud native" opportunities that are available for PHP application builts with frameworks like Laravel or Symfony.

gmazzap avatar Jul 13 '22 13:07 gmazzap

Thanks.

There are some WP specifics to be figured out, like db state perhaps etc, so I think it's a useful discussion in WPS context.

We'll give some things a try and document the results here.

lkraav avatar Jul 27 '22 15:07 lkraav