Before we can start working on the OCL service, we need to be able to set it up locally. The instructions are at https://github.com/OpenConceptLab/oclapi/blob/master/README.md, however we were not able to reproduce them. We’re stuck on the server starting up without any visible errors, yet nothing being accessible via the browser or curl at http://localhost:8000. We can access solr and mongo. Syncdb is executed correctly as well.
The server seems to be starting up successfully when calling “manage.py
runserver”. It says running at http://0.0.0.0:8000. There are no errors
printed out, yet we can’t access any resource. The server doesn’t respond
to any request.
It seems like we have some missing configuration step. It should be easy to
reproduce running docker-compose.
The issue is resolved now. Thanks to @kkaczmarczyk’s team for finding the fix. It was a simple as changing from “python manage.py runserver” to “python manage.py runserver 0.0.0.0:8000”.