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

  • Paddy66@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

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

    • cichy1173@szmer.info
      link
      fedilink
      English
      arrow-up
      1
      ·
      15 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.orgOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      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
        link
        fedilink
        English
        arrow-up
        1
        ·
        23 hours ago

        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.orgOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          13 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.