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. App Packaging & Development
  3. Potential UI for building/installing custom apps?

Potential UI for building/installing custom apps?

Scheduled Pinned Locked Moved App Packaging & Development
5 Posts 3 Posters 1.0k Views 3 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.
  • rxlictR Offline
    rxlictR Offline
    rxlict
    wrote on last edited by
    #1

    Hi there,

    As per the following topic here, I've been attempting to build and install pre-packaged apps from the forum. However, due to my very limited knowledge, I continiously run into issues.

    I've been using the documentation to the best of my ability, but unfortunately this is where I fall short and I don't really understand what I'm doing.

    Would there ever be a UI or something similar, that allows users such as myself that aren't knowledgable when it comes to terminals/docker and such. to install packaged apps through the cloudron panel?

    I wish I could have an easier grasp on this kind of thing however it just flies over my head.

    Thanks for reading!

    girishG timconsidineT 2 Replies Last reply
    3
    • rxlictR rxlict

      Hi there,

      As per the following topic here, I've been attempting to build and install pre-packaged apps from the forum. However, due to my very limited knowledge, I continiously run into issues.

      I've been using the documentation to the best of my ability, but unfortunately this is where I fall short and I don't really understand what I'm doing.

      Would there ever be a UI or something similar, that allows users such as myself that aren't knowledgable when it comes to terminals/docker and such. to install packaged apps through the cloudron panel?

      I wish I could have an easier grasp on this kind of thing however it just flies over my head.

      Thanks for reading!

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @rxlict welcome here. Good question... Generally , docker development and packaging is a very technical issue by nature. So, I don't know what UI can be built to make it less complicated . Do you have anything specific in mind?

      1 Reply Last reply
      0
      • rxlictR rxlict

        Hi there,

        As per the following topic here, I've been attempting to build and install pre-packaged apps from the forum. However, due to my very limited knowledge, I continiously run into issues.

        I've been using the documentation to the best of my ability, but unfortunately this is where I fall short and I don't really understand what I'm doing.

        Would there ever be a UI or something similar, that allows users such as myself that aren't knowledgable when it comes to terminals/docker and such. to install packaged apps through the cloudron panel?

        I wish I could have an easier grasp on this kind of thing however it just flies over my head.

        Thanks for reading!

        timconsidineT Offline
        timconsidineT Offline
        timconsidine
        App Dev
        wrote on last edited by timconsidine
        #3

        @rxlict most important thing : you're not alone !
        It can be tricky but with patience it is not so difficult.
        Ask away - no such thing as stupid question.

        As @girish says, I'm not sure a UI is possible, but maybe you have a good idea.

        Actually constructing the Dockerfile is the hard part.
        Constructing the CloudronManifest.json is not too difficult from the docs.
        Once they are done, I use this little script in Terminal in the folder containing Dockerfile and CloudronManifest.json.
        Nothing clever about it, just removes some of the drudgery of terminal commands.
        Call it what you want : buildscript.sh ?

        #/bin/bash
        docker build -t $1 .
        docker push $1
        cloudron install --image $1
        

        Use it like this :
        ./buildscript.sh <docker-repo-address>/<app-name>:<app-tag> where

        • <docker-repo-address> is where you hosting your docker images (maybe docker hub or a private docker repository : I installed DockerRegistry from App store, so it could be 'docker.mydomain.com')
        • <app-name> : whatever makes sense to you
        • <app-tag> : optional, just some suffix to distinguish versions of built images
          So it could be :
          ./buildscript.sh docker.mydomain.com/myapp:v1

        And of course, prerequisites before any of that are :

        • install docker locally and log in to your docker repo
        • install cloudron CLI and log in to your Cloudron instance.

        Hope this is not too basic.

        1 Reply Last reply
        2
        • rxlictR Offline
          rxlictR Offline
          rxlict
          wrote on last edited by
          #4

          @girish @timconsidine thanks for the warm welcome!

          in terms of my issues so far: as a complete layman to all of this, i spun up a VM on ubuntu, installed docker desktop and the cloudron CLI. i installed the cloudron build service app and the docker registry app on my cloudron and entered my credentials in the cloudron settings, as well as editing the /app/data/docker.json file to input the correct details there as well.

          i then attempted to build an app and it gave me an error stating the app build failed and inevitably when i tried to install the image, it gave me a 404 although it seems there are some failed instances when i login to the build service online. hopefully this makes some kind of sense, haha!

          in terms of a UI to simplify the process, perhaps there could be an additional app on the cloudron store that utilises both the cloudron build service and private docker registry apps to upload, build and install a properly packaged app from this link or self-packaged app, without needing the end user to interact with the terminal?

          apologies as i am very out of my depth here haha.

          timconsidineT 1 Reply Last reply
          0
          • rxlictR rxlict

            @girish @timconsidine thanks for the warm welcome!

            in terms of my issues so far: as a complete layman to all of this, i spun up a VM on ubuntu, installed docker desktop and the cloudron CLI. i installed the cloudron build service app and the docker registry app on my cloudron and entered my credentials in the cloudron settings, as well as editing the /app/data/docker.json file to input the correct details there as well.

            i then attempted to build an app and it gave me an error stating the app build failed and inevitably when i tried to install the image, it gave me a 404 although it seems there are some failed instances when i login to the build service online. hopefully this makes some kind of sense, haha!

            in terms of a UI to simplify the process, perhaps there could be an additional app on the cloudron store that utilises both the cloudron build service and private docker registry apps to upload, build and install a properly packaged app from this link or self-packaged app, without needing the end user to interact with the terminal?

            apologies as i am very out of my depth here haha.

            timconsidineT Offline
            timconsidineT Offline
            timconsidine
            App Dev
            wrote on last edited by
            #5

            @rxlict yes, if the build fails, everything will go pear-shaped. Trying to go ahead will fail.

            The important step is to solve the build issue, which will be in how the Dockerfile is constructed.

            Can you share which app you're trying to package?

            Stick with it : it can be a frustrating process solving the build issues, but once you have success, it's all worth while.

            1 Reply Last reply
            1
            • ChristopherMagC ChristopherMag referenced this topic on
            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