Alfanous-team / alfanous

Alfanous is an Arabic search engine API provides the simple and advanced search in Quran , more features and many interfaces...
http://www.alfanous.org/
GNU Affero General Public License v3.0
254 stars 89 forks source link

django app fail #463

Closed ATouhou closed 6 years ago

ATouhou commented 8 years ago

Assalamu aleykoum wa rahmatullahi wa barakatuh my beloved brothers. I just tried setting it up localhost and after a whole bunch of problems (there is a lot extra things that has to be installed that is not listed in your walkthrough/guide"), I get this error:

image

any ideas?

assem-ch commented 8 years ago

Salam, welcome

Please feel free to add the libs that not listed to the hotwto so other people will find it listed.

For the error, it means the app didn't find the indexes. A possible cause for this is that you didnt run:

 $ make build

Another possible cause is a conflict between installed version of alfanous and the one in the source repo.

ATouhou commented 8 years ago

Yes I did not "make build", as it is not the right command.. (not recognized on windows, and I installed Sphinx). I will try to add the different steps for windows in Sha Allah if I do clean install on another pc in Sha Allah

assem-ch commented 8 years ago

If you are going to use only the django app, I suggest to install alfanous api using pip:

 $ pip install alfanous

In this case, you should comment those 3 lines (30-32): https://github.com/Alfanous-team/alfanous/blob/master/src/alfanous-django/wui/views.py#L30

ATouhou commented 8 years ago

Yes works great doing that. I'm most proficient in PHP, JS, HTML and CSS, so I don't know how much benefitting I can do you. How do "make build", so that everything will work?

assem-ch commented 8 years ago

You may help in web-labeled issues, I would suggest:

I used to run make build in windows using the shell installed within Github-for-desktop, its tricky but worked for me. Another solution is to run it in a linux machine and than copy it to your machine, I can give you an account to copy the version running on the web server.

sneetsher commented 7 years ago

Well there other alternatives packages for autotools in MS Windows like:

But as you are a developer you may want all dev tools ready at hand, so i recommend instead: