xyu / heroku-wp

WordPress on Heroku
MIT License
871 stars 282 forks source link

How to run on localhost? #134

Open dgursh opened 6 years ago

dgursh commented 6 years ago

Hi,

about 3 months ago I was able to run on localhost a wordpress site using heroku-wp.

All I had to do was run PHP built in server on mac

php -S localhost:8000

and it worked... I just had to set the directory with -t flag to be public.

This no longer works. Now, I have a public.built directory? What is that? When I try to run on local host the autoloader is failing. How can I fix this? Thanks.

zcrowe commented 6 years ago

If your method is till a viable route I'd love to know, but the docs suggest the author moved down a more VM route: https://github.com/xyu/heroku-wp#running-locally

angyts commented 6 years ago

i second. A docker might be a good idea too.