Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No search results showing up on live site #32

Open
todrobbins opened this issue Aug 8, 2017 · 7 comments
Open

No search results showing up on live site #32

todrobbins opened this issue Aug 8, 2017 · 7 comments
Labels

Comments

@todrobbins
Copy link
Member

Search results populate in local dev but not on the live site. Here's the local view:

screen shot 2017-08-08 at 10 50 55 am

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.

@todrobbins todrobbins added the bug label Aug 8, 2017
@misbach
Copy link

misbach commented Mar 19, 2018

Can you update the readme with instructions on how to get a local dev environment setup?

@todrobbins
Copy link
Member Author

@misbach Yessir!

@todrobbins
Copy link
Member Author

@misbach the README now has instructions!

@misbach
Copy link

misbach commented Mar 19, 2018

@todrobbins thanks! I've got it up and running.

@misbach
Copy link

misbach commented Mar 19, 2018

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?

@todrobbins
Copy link
Member Author

The site is deployed via GitHub Pages. I'm not sure why the index.json is not being produced/added.

@todrobbins
Copy link
Member Author

I've since removed the lunr.js plugin. Will look at other options soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants