Building nikita-noark5-core/web on Debian stretch
Petter Reinholdtsen
pere at hungry.com
Sun May 21 16:52:47 CEST 2017
[Ole Aamot]
>> Is runtest able to talk to the API? If so, I guess the API is working
>> and the problem is in the browser.
>
>
> I have run nikita-noark5-core by entering "make" in src/nikita-noark5-core
> and the web client by entering "make run" in
> src/nikita-noark5-core/web/
Same as I. But is runtest from the noark5-tester git repo able to talk
to the API?
> From the JavaScript console in Chrome for http://localhost:3000/
> experimental/login.html
>
> angular.js:12587 OPTIONS http://localhost:8092/noark5v4//auth
> net::ERR_CONNECTION_REFUSED
> client.js:99 helloundefined
Sound like some CORS problem.
> Do I have to populate a MySQL database with username ("admin") and
> password ("password") before I can login?
Are you sure you are using MySQL? I use the RAM database that is
selected by default when running 'make'. The users are created
automatically when the RAM database is initialized.
> How about making it possible to select login domain in the web client
> from a list of servers such as localhost:8092, nikita.hioa.no:8092,
> nikita.nuug.no:8092, etc.?
That would be cool. Patches welcome. See also
<URL: https://github.com/HiOA-ABI/nikita-noark5-core/issues/40 >.
--
Happy hacking
Petter Reinholdtsen
More information about the nikita-noark
mailing list