Hi, I tried to setup Frontity on my Windows 10 using the Quick Start Guide, but could not get it to run. @Johan suggested running it in Docker as Windows and Node can have issues…
I found this tutorial: https://github.com/trustos/frontity-wp-template
Following it I was able to get Docker set-up, and Frontity working… However, it only works if I point the state.source.url to a live wordpress website.
If I point it to http://localhost:8080/ the frontity site displays this message:
request to http://localhost:8080/wp-json/wp/v2/posts?_embed=true&page=1 failed, reason: connect ECONNREFUSED 127.0.0.1:8080
I’m happy to get something with a live site, but would love to be able to use a local site to develop from…
I followed the above mentioned guide, the only file values I changed were:
- .env → DB_ROOT_PASSWORD → changed to personal pw
- frontity.settings.js → state.source.url → changed to “http://localhost:8080/”
- frontity.settings.js → state.frontity.url → changed to “http://localhost:8080/”
Are there any thoughts on this? Much appreciated in advance!