Open mgug01 opened 4 years ago
It should be possible to pack orca
into Python wheel as data file - https://setuptools.readthedocs.io/en/latest/setuptools.html#including-data-files
If orca
could be compiled into a static binary, that would be the easiest way.
If
orca
could be compiled into a static binary, that would be the easiest way.
@abitrolly this is something we are looking into to make it easy to install Orca anywhere via pip
. Stay tuned!
@gugmi01 about heroku, one will need all the dependencies required to run chromium
browser AND xvfb
to run things in a headless manner (see http://elementalselenium.com/tips/38-headless). Usually this is done with xvfb-run -a orca graph ...
.
I hope this helps!
@antoinerg Chrome has the --headless
option that doesn't need xvfb
https://developers.google.com/web/updates/2017/04/headless-chrome#screenshots
This is related to issue #194- Plotly-orca works flawlessly on my local machine, but unfortunately after following every thread I can find on getting this up on a server like Heroku- I'm unable to get this working.
So far I've successfully installed electron & Orca within Heroku, I've installed dependencies through a APT buildpack and Aptfile but still continually receive the following error in Django:
I would definitely prefer to continue using Plotly if possible, though without the ability to export an image, I may unfortunately need to look elsewhere.