Hello! How to implement multi-user problems with the TRARE framework. Note that for multi-users you need to use and configure a launcher.
We expose a docker image on which you can install your trame app. That docker image will handle the multi-user setup for you.
We have a single file trame app example making use of that docker.
Also if you use the cookiecutter to build your trame application it will provide a setup for bundling your app into such docker image as well.
/deploy/server/venv/bin/python: Error while finding module specification for âwslink.launcherâ (ModuleNotFoundError: No module named âwslinkâ)
Traceback (most recent call last):
File â/usr/local/bin/visualisâ, line 11, in
load_entry_point(âvisualis==1.0.0â, âconsole_scriptsâ, âvisualisâ)()
File â/usr/lib/python3.6/site-packages/pkg_resources/init.pyâ, line 476, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File â/usr/lib/python3.6/site-packages/pkg_resources/init.pyâ, line 2700, in load_entry_point
return ep.load()
File â/usr/lib/python3.6/site-packages/pkg_resources/init.pyâ, line 2318, in load
return self.resolve()
File â/usr/lib/python3.6/site-packages/pkg_resources/init.pyâ, line 2324, in resolve
module = import(self.module_name, fromlist=[ânameâ], level=0)
File â/usr/local/lib/python3.6/site-packages/visualis/init.pyâ, line 1, in
from .app import main
File â/usr/local/lib/python3.6/site-packages/visualis/app/init.pyâ, line 1, in
from .main import main
File â/usr/local/lib/python3.6/site-packages/visualis/app/main.pyâ, line 1, in
from trame import setup_dev
ImportError: cannot import name âsetup_devâ
What are you asking? How to delete the import for the setup_dev or something else?
That part was deprecated to use the new infrastructure that support hot reloadingâŚ
HiďźHow do I deploy the trame framework to a server?
If all the infromation above is not enough, you can use that caprover demo.
app.py we run the trame framework, two URLs appear, why canât the second one be accessed? Why canât the network be accessed?
On linux, you need to set the host to 0.0.0.0 (--host 0.0.0.0
) otherwise it is not accessible from another machine.