hzi-braunschweig / SORMAS-Stats-next-gen

SORMAS-Stats contain functions to analyze and visualize surveillance data collected by SORMAS.
GNU General Public License v3.0
4 stars 6 forks source link

http://localhost:3838/ does not show up anything #154

Open jielab opened 2 years ago

jielab commented 2 years ago

Hi, can you please me know how i could open the application after executing the command shown as in the screenshot below?

I tried http://localhost:3838/, but it did not work.

Thanks! Jie

image

bernardsilenou commented 2 years ago

@jielab Can you confirm that you have the sormas app rightly set up? before running sormas-stats app, you first need to make sure that sormas Postgres is running and you can access the DB from R The docker image has default env variables that you need to override when running the container, see https://github.com/hzi-braunschweig/SORMAS-Stats-next-gen/blob/development/sormas-stats-shinyapp/Dockerfile

jielab commented 2 years ago

Dear Bernard:

Thanks! I simply followed the instructions on your Github page and did the following:

  1. After install Docker Desktop, I run the following two commands on Windows Powershell:

    • docker pull hzibraunschweig/sormas-stats:latest
    • docker run -p 0.0.0.0:3838:3838 hzibraunschweig/sormas-stats:latest
  2. From Docker Desktop, I click the "Open in Terminal" icon, and then on the popup terminal, I type the following command image

As shown above, I got error messages. I also tried to click the "OPEN WITH BROWSER" icon from Docket Desktop. But as mentioned previously, the popup page has nothing to do with SORMAS-Stats. image

So, can you please kindly let me know the step-by-step instruction on how to open up SORMAS-Stats and run it?

Best regards, Jie

jielab commented 2 years ago

Dear Bernard:

I try to run SORMAS Stats on my Windows 10 PC. For your original comment "have the sormas app rightly set up", I did not set up SORMAS APP or anything. I thought that I could simply follow your Github instruction and got things running.

So, can you please kindly update your Github instruction so that readers could follow it and run it?

Best regards, Jie

bernardsilenou commented 2 years ago

@jielab Sorry for that, I will update the documentation. Please setup sormas following this link https://github.com/hzi-braunschweig/SORMAS-Docker Using an Ubuntu machine would make things easier. We can organise a short call for further clarification if needed.

jielab commented 2 years ago

Dear Bernard:

Thank you very much! It would be great if we could get on a quick call. Can you please let me know a convenient time at my jiehuang001@gmail.com ?

Best regards, Jie