gk1089 commented on issue #8975: UI not working in docker production setup.
URL: 
https://github.com/apache/incubator-superset/issues/8975#issuecomment-576099910
 
 
   > 
   > 
   > I also came across this, and after a long debugging session I walked away, 
came back, and it was working. I'm pretty sure it's just that you're able to 
access the webpage long before the npm installation process has completed. If 
you inspect the source of the returned page when it's in that state, there are 
no script tags embedded.
   > 
   > After waiting for about 15 minutes on a modern macbook pro, the logs 
progressed from `npm ci` step to the actual build, and it started working. The 
fix here is probably just not starting the web server until the build is 
complete, and adding more clear logging after `npm ci` of "Installing web 
dependencies, this may take a while."
   
   So what you are suggesting is that post installation, when I run with the 
command `superset run -p 8088 --with-threads --reload --debugger`, I should 
wait for 'some' time before I fire the link in the browser. My host machine is 
pretty powerful, but I am running this in a VM with 4 gigs of RAM and a couple 
of cores, so let us see how it fares against a dedicated machine like you said.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to