Hi everyone, I am running tutor 16v (palm) and I having issues to add new custom mfe.
I have read the documentation in tutor-mfe but I am still unable to run it.
Here I added the plugins as described in the documentation ( I directly used the frontend template )
from tutormfe.hooks import MFE_APPS
@MFE_APPS.add()
def _add_gym_mfe(mfes):
mfes["profile"] = {
"repository": "https://github.com/gymnasium/gym-mfe-profile",
"port": 1995,
"version": "gym", # using a custom branch
"refs": "https://api.github.com/repos/gymnasium/gym-mfe-profile/git/refs/heads",
}
return mfes
Then, enable the plugin (sometimes I go the extra mile of disabling the plugin first, then re-enabling it after making changes. Not sure if this really makes a difference). tutor plugins enable pluginname
After that, save the config: tutor config save
Then, build the images: tutor images build mfe (although sometimes I just build all tutor images build all. Not sure if this makes a difference or not.)
Then, start it up: tutor dev launch
A couple of things to keep in mind:
I’m don’t know how this would work with frontend-template application. I think you’re supposed to create a repo based on the template rather than using the template directly the way you’ve specified.
One thing I have not been able to do at all is bind-mount a local folder of an MFE. I would love to know if anyone has had success doing this with Tutor Palm.
Let me know if that much helps you get further along than before.
I have the followed these steps
It is working in my machine
But when I did the same in production It was not successful
In production Im using an ubuntu ec2 instance
Did anyone met success in custom mfe(in production)?