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

Help with installation #226

Closed
infojunkie opened this issue Oct 16, 2017 · 4 comments
Closed

Help with installation #226

infojunkie opened this issue Oct 16, 2017 · 4 comments

Comments

@infojunkie
Copy link

Hello,

I'm trying to spin up the Docker environment as per https://aleph.readthedocs.io/en/latest/installation.html#development-installation-steps but I am unable to get to the web front-end. I ran make web which is not documented afaict, and here's what docker ps tells me:

kratib@neoluddite:~/src/meedan/aleph$ docker ps
CONTAINER ID        IMAGE                 COMMAND                  CREATED             STATUS              PORTS                                NAMES
2fbd1e59745b        aleph_app             "/aleph/contrib/de..."   32 seconds ago      Up 32 seconds       0.0.0.0:5000->5000/tcp, 8000/tcp     aleph_app_run_1
ddc5c35e15cb        postgres:9.4          "docker-entrypoint..."   27 minutes ago      Up 27 minutes       5432/tcp                             aleph_postgres_1
e8e58ffef9e2        elasticsearch:5.4     "/docker-entrypoin..."   27 minutes ago      Up 27 minutes       9200/tcp, 9300/tcp                   aleph_elasticsearch_1
23c1a1d8a358        rabbitmq              "docker-entrypoint..."   27 minutes ago      Up 27 minutes       4369/tcp, 5671-5672/tcp, 25672/tcp   aleph_rabbitmq_1

But then, when I visit http://localhost:5000, I just see

{"status": "error", "message": "This path does not exist."}

Also, the documented URL http://lvh.me:13376 does not seem to exist on my local.

Help please!

@pudo
Copy link
Contributor

pudo commented Oct 16, 2017

Thanks for this feedback, Karim.

  • make web - we need to document that.
  • Same with updating the docs wrt. :13376

But, here's the weird part: from what I can tell you have a working aleph2 install. It just doesn't have a UI. The API is mounted at /api/2. You can either travel over to aleph-ui and point that against your install, but it's still super basic. Or you can check out the stable branch, which has the old Angular1 UI going as a monolith.

Of course, before aleph 2 is born, we'll want to make the UI build as part of the docker env, but for now there's just too little of it around.

@infojunkie
Copy link
Author

infojunkie commented Oct 16, 2017

Thanks. And just to make sure I understand, the API full address would be http://localhost:5000/api/2 ? This also gives me 404.

Feel free to close this if there's nothing more to be done until UI v2 exists.

@pudo
Copy link
Contributor

pudo commented Oct 16, 2017

Try http://localhost:5000/api/2/metadata, or http://localhost:5000/api/2/search.

I'm leaving this open to cover the two docs issues. @rhiaro how about it?

@infojunkie
Copy link
Author

Got stuff for http://localhost:5000/api/2/metadata - thanks!

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