/LongStoryPress

Primary LanguageJavaScriptMIT LicenseMIT

LongStoryPress

Headless WordPress configured for nginx as a reverse proxy for a node server with a (ssr enabled) react frontend. Designed to be a multisite where each WordPress subsite manages content for a subsite on a react app multisite. See example.com for example starter config. Customize as much or as little of the default react app as desired for each site. Import modules from the default app as import Module from 'LSP/Module', and vice-versa as import Module from 'Site/Module'. The build script will write an nginx server block called 'server.conf'. Make sure you include this path in the main conf file (probably in /etc/nginx/sites-available/YourMultiSiteServerBlock).

Quick Start

git clone https://github.com/LongStoryMedia/LongStoryPress.git \
&& cd LongStoryPress \
&& lsp-install