facebookarchive / instant-articles-builder

Instant Articles Rules Editor
https://facebook.github.io/instant-articles-builder
Other
125 stars 67 forks source link

Support customization of preview webserver #159

Closed pestevez closed 3 years ago

pestevez commented 3 years ago

The tools has a preview which forces the installation of PHP locally in order to run a local webserver to generate the IA markup and preview of the resulting Instant Article. We could get rid of the need to install PHP locally if we supported the configuration of the webserver IP and address.

For example, we could have the webserver running in a Docker container and just point to a single instance; or to use a remote webserver which could be shared by multiple clients.

Another issue that this would fix is for machines where the port hardcoded for the webserver (8105) is in use.