Help for distributing MongoExpress application

Dear team,
I’ve written a first iteration of a yunohost packager for MongoExpress.
The source of the package is in github:
MongoExpress for yunohost

It’s working fine on my ynh-dev local environment, and now I wonder what to do next ?

I would like to test it in my real server before trying to make it distributable.

I tried to use the admin gui to install it as custom app, or through the command line, and I couldn’t figure out how to make it work.
If I try
yunohost app install
yunohost app install
I get the following error:
Error: Could not fetch source files, is the URL correct?

If I try the github pages:
yunohost app install
Then I get
Error: is not a valid app url: app url are expected to look like https://domain.tld/path/to/repo_ynh

I’m quite new to this all app packaging and distribution, and I couldn’t solve this by looking at the doc, a little help would be appreciated !


1 Like

Hmm ok, using should definitely work … Can you confirm that you can manually git clone the repo from inside the ynh-dev server ?

Thanks for the reply, I confirm I can use the git clone from ynh_dev.
I even did a git clone of the repo inside my real server, and a
sudo yunohost app install mongo-express_ynh

worked like a charm :slight_smile:

When I go to on my browser, it redirects me to the GitHub pages

It’s the first time I see a repo use that feature. Could it be that YunoHost does not handle the redirection?

@gcollin can you try disabling temporarily the Pages feature and try again?