Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Switching to a fork of an app

Switching to a fork of an app

Scheduled Pinned Locked Moved Solved Support
9 Posts 7 Posters 1.6k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jordanurbsJ Offline
    jordanurbsJ Offline
    jordanurbs
    wrote on last edited by
    #1

    This is a duplicate post from the Mastodon forum: I want to switch to the Hometown branch of Mastodon. My install is currently the default one-click installation on Cloudron.

    Can I simply initialize a new git repo in the /app/code folder via the cloudron cli and switch branches/remote origins?

    Or would this depend on the changes in functionality of the fork itself and it's better to package a custom app?

    jdaviescoatesJ 1 Reply Last reply
    1
    • jordanurbsJ jordanurbs

      This is a duplicate post from the Mastodon forum: I want to switch to the Hometown branch of Mastodon. My install is currently the default one-click installation on Cloudron.

      Can I simply initialize a new git repo in the /app/code folder via the cloudron cli and switch branches/remote origins?

      Or would this depend on the changes in functionality of the fork itself and it's better to package a custom app?

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #2

      @jordanurbs I've no idea really, but I'd guess that later. I think you'd need to create a completely new custom app based on the fork.

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      1
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #3

        Yes, essentially you can start from the regular mastodon package at https://git.cloudron.io/cloudron/mastodon-app and then adjust that to use the fork. This however then means that our package updates would of course not apply to your modified/forked instance.

        1 Reply Last reply
        2
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @jordanurbs The code inside the container (the /app/code you refer to) cannot be changed. It's a read-only file system. On Cloudron, you have to create a docker image and then deploy the docker image.

          I think it's easiest if you quickly try https://forum.cloudron.io/topic/3102/building-custom-packages first to build the mastodon app. Once you do that, you can adjust that Dockerfile for the hometown branch and then build again and then run cloudron update.

          jordanurbsJ 1 Reply Last reply
          4
          • girishG girish

            @jordanurbs The code inside the container (the /app/code you refer to) cannot be changed. It's a read-only file system. On Cloudron, you have to create a docker image and then deploy the docker image.

            I think it's easiest if you quickly try https://forum.cloudron.io/topic/3102/building-custom-packages first to build the mastodon app. Once you do that, you can adjust that Dockerfile for the hometown branch and then build again and then run cloudron update.

            jordanurbsJ Offline
            jordanurbsJ Offline
            jordanurbs
            wrote on last edited by
            #5

            @girish You just saved me a lot of time and headache, thank you!

            1 Reply Last reply
            2
            • robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #6

              @jordanurbs have you completed your fork?

              Conscious tech

              chetbakerC 1 Reply Last reply
              1
              • robiR robi

                @jordanurbs have you completed your fork?

                chetbakerC Offline
                chetbakerC Offline
                chetbaker
                wrote on last edited by
                #7

                @robi said in Switching to a fork of an app:

                @jordanurbs have you completed your fork?

                I came to ask the same thing 🙂
                I've been trying to run Hometown with no success so far.

                1 Reply Last reply
                1
                • brandthedwarfB Offline
                  brandthedwarfB Offline
                  brandthedwarf
                  wrote on last edited by
                  #8

                  As mastodon or should I say fediverse popularity rises, came here to ask if you made switch to fork and would you care to write something about it.

                  chetbakerC 1 Reply Last reply
                  0
                  • brandthedwarfB brandthedwarf

                    As mastodon or should I say fediverse popularity rises, came here to ask if you made switch to fork and would you care to write something about it.

                    chetbakerC Offline
                    chetbakerC Offline
                    chetbaker
                    wrote on last edited by
                    #9

                    @brandthedwarf I finally did it. I'm not a technical person and just followed the instructions running it locally

                    1 Reply Last reply
                    2
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search