this post was submitted on 02 May 2025
159 points (97.0% liked)

Selfhosted

46648 readers
337 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I recently discovered yunohost, a French project for easy selfhosting. Does anyone have experience with that?

you are viewing a single comment's thread
view the rest of the comments
[–] Paddy66@lemmy.ml 1 points 21 hours ago (2 children)

If I host a website on Yunohost can I push the files from Codeberg to it using git?

[–] cichy1173@szmer.info 1 points 10 hours ago

It can be done using Forgejo Actions. I did something like that with Github Actions. I host static website on my Yunohost server using app named my_webapp and I wrote Github Action Workflow that deploys it into my_webapp directory

[–] WhiteHotaru@feddit.org 1 points 19 hours ago (1 children)

I think this is not possible to configure just with yunohosting standard tools. My guess would be you would not need yunohost to do so. I have a blog made with a static site generator and I just push the whole output to a directory under /var/www. Plus there is an nginx running as Webserver and to redirect traffic to subdomains.

[–] Paddy66@lemmy.ml 1 points 18 hours ago (1 children)

I thought that I would need Yunohost to take care of all the web hosting stuff in the back ground...? Are you saying to just push files into the VPS barebones, or into Yunohosts website app shell? (Sorry I'm new to VPS stuff).

And how would you push the files from Codeberg? what is the method?

[–] WhiteHotaru@feddit.org 1 points 7 hours ago

A minimal setup would be:

  • your VPS with an installed operating system like Debian 12 or Ubuntu 24(?).
  • a Webserver, which accepts http(s) requests from a browser.

You configure your VPS to be able to access it via ssh, login, install a Webserver like nginx, Apache or others, configure the server to point requests to your IP or domain to a local directory on your server (e.g. /var/www/yoursite on Linux), write some hello world html file, copy that file via scp to /var/www/yoursite, voilá – you just created a (very simple) website.

If you want a little more bling bling you could use a static site generator. See https://jamstack.org/generators/

With a SSG you would initialize your site on your local machine, write some markdown and put in in your site generators folder structure and run the command to create the html files from the markdown. The output is normally a specific folder you could then copy to your server, as mentioned above. Or you could set up git on your server and use git commit and git push to push changes to your server. This is what you had in mind.

I find it easier to just use a graphical client software like Cyberduck to drag and drop the whole static site generator output to my server.