Open todrobbins opened 7 years ago
Can you update the readme with instructions on how to get a local dev environment setup?
@misbach Yessir!
@misbach the README now has instructions!
@todrobbins thanks! I've got it up and running.
It looks like the problem is that index.json isn't on your server (http://www.electionsutah.org/js/index.json). Should it belong in the /js folder?
Also, how do you deploy this to your production server?
The site is deployed via GitHub Pages. I'm not sure why the index.json
is not being produced/added.
I've since removed the lunr.js plugin. Will look at other options soon.
Search results populate in local dev but not on the live site. Here's the local view:
Besides getting the results to show, I need help making the results more useful (summary text, people showing in the results). I'm using lunr.js for search.