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

In-depth Instructions #311

Open
s22-tech opened this issue Mar 25, 2024 · 1 comment
Open

In-depth Instructions #311

s22-tech opened this issue Mar 25, 2024 · 1 comment

Comments

@s22-tech
Copy link

Are there in-depth instructions on how to set up TNT Search? Like how to use sqlite instead of MySQL? Also, where do we find the SQL for creating the db's we need to run this? I'm wanting to index a static site. The tutorials are written for people using Laravel.

Thanks.

@ultrono
Copy link

ultrono commented Mar 25, 2024

There's a lot about it online and the tutorial are not written for Laravel. The read me in this very repository gives you everything you need for use without Laravel - https://github.com/teamtnt/tntsearch/blob/master/README.md. Have you read that?

SQLite is the default used for your search index (see read me).

Also, where do we find the SQL for creating the db's we need to run this

I'd really recommend you read the documentation as that question says you haven't viewed the read me. If using the raw package you'd follow the read me to create an index. The data for your search can come from a MySQL database, an external website or anywhere to be honest. If you're wishing to index a MySQL database you'd run a query to fetch relevant users for example and then follow the read me instructions to add a record to your index.

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

No branches or pull requests

2 participants