Install inside of the astro-project
folder.
cd astro-project
npm install
Then build the Astro project.
npm run build
Now run the PHP server (from the root)
php -S localhost:8000
Template from Astroship, changed to be used in a PHP app instead.
Example PHP project running Astro inside with the Container API
Install inside of the astro-project
folder.
cd astro-project
npm install
Then build the Astro project.
npm run build
Now run the PHP server (from the root)
php -S localhost:8000
Template from Astroship, changed to be used in a PHP app instead.
Example PHP project running Astro inside with the Container API
GNU General Public License v3.0