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 Wishlist
  3. SurrealDB

SurrealDB

Scheduled Pinned Locked Moved App Wishlist
31 Posts 5 Posters 4.0k Views 5 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.
  • O Offline
    O Offline
    Odonno
    wrote on last edited by
    #1

    Hi,

    I have created an image to make SurrealDB work in a Cloudron server. Here is the link to the docker image: https://hub.docker.com/repository/docker/dbottiau/cloudron-surrealdb

    I have tested it and works like a charm. See:

    d710d75d-0237-4fc7-ba24-2c5e3c633ec1-image.png

    How can I publish the app to the App Store? The app should be listed in "Database" section.

    1 Reply Last reply
    5
    • BrutalBirdieB Offline
      BrutalBirdieB Offline
      BrutalBirdie
      Partner
      wrote on last edited by
      #2

      You have to publish your app code in https://git.cloudron.io/ also there are lifecycle tests that need to be done to be sure that the app will survive in the long run.
      You can check other apps for that.

      Like my work? Consider donating a drink. Cheers!

      1 Reply Last reply
      2
      • timconsidineT Online
        timconsidineT Online
        timconsidine
        App Dev
        wrote on last edited by
        #3

        Also good to clarify the licence which would apply

        1 Reply Last reply
        2
        • O Offline
          O Offline
          Odonno
          wrote on last edited by
          #4

          Thank you for the info. I requested an access on GitLab. I am not very familiar with GitLab. I suppose that once I have access, I will have to setup the project and everything required as you explained.

          girishG 1 Reply Last reply
          1
          • O Odonno

            Thank you for the info. I requested an access on GitLab. I am not very familiar with GitLab. I suppose that once I have access, I will have to setup the project and everything required as you explained.

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

            @Odonno I saw a request today to join 'cloudron' group but this is not the workflow. Can you give me your username on gitlab (not sure if it was you who requested) ? I have to up the repo limit before you can create a repo there.

            There's a whole bunch of apps in https://git.cloudron.io/cloudron/ (with the -app suffix). You can push the package code with your preferred opensource license .

            O 2 Replies Last reply
            1
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              I don't have much idea of SurrealDB . Can you tell us a bit about how SurrealDB is backed up and restored? Does it store it's data in files or is it backed by another database?

              O 1 Reply Last reply
              2
              • girishG girish

                I don't have much idea of SurrealDB . Can you tell us a bit about how SurrealDB is backed up and restored? Does it store it's data in files or is it backed by another database?

                O Offline
                O Offline
                Odonno
                wrote on last edited by
                #7

                @girish Yes, it is stored in a single file for this particular purpose.

                1 Reply Last reply
                0
                • girishG girish

                  @Odonno I saw a request today to join 'cloudron' group but this is not the workflow. Can you give me your username on gitlab (not sure if it was you who requested) ? I have to up the repo limit before you can create a repo there.

                  There's a whole bunch of apps in https://git.cloudron.io/cloudron/ (with the -app suffix). You can push the package code with your preferred opensource license .

                  O Offline
                  O Offline
                  Odonno
                  wrote on last edited by
                  #8

                  @girish Yes, it is me. My name is David Bottiau.

                  1 Reply Last reply
                  0
                  • girishG girish

                    @Odonno I saw a request today to join 'cloudron' group but this is not the workflow. Can you give me your username on gitlab (not sure if it was you who requested) ? I have to up the repo limit before you can create a repo there.

                    There's a whole bunch of apps in https://git.cloudron.io/cloudron/ (with the -app suffix). You can push the package code with your preferred opensource license .

                    O Offline
                    O Offline
                    Odonno
                    wrote on last edited by
                    #9

                    @girish What is the workflow then? I am unable to create a surrealdb-app repository.

                    girishG 1 Reply Last reply
                    0
                    • O Odonno

                      @girish What is the workflow then? I am unable to create a surrealdb-app repository.

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

                      @Odonno You should be able to create repos on gitlab now (under your name). Once it's pushed, can you let me know? I will then move it under the cloudron organization.

                      1 Reply Last reply
                      1
                      • O Offline
                        O Offline
                        Odonno
                        wrote on last edited by
                        #11

                        I have created the project here https://git.cloudron.io/Odonno/surrealdb-app

                        I have started to write tests but I don't how it can work. I have this error for the first test...

                        image.png

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

                          @Odonno It seems the license on the package is BSL. We try to keep the package source code as proper opensource licenses . Note that surrealdb itself can be BSL, this is not a problem. The license in the repo only on the license of the package. This allows us (cloudron team) to continue to provide updates to the package reliably.

                          O 1 Reply Last reply
                          0
                          • girishG girish

                            @Odonno It seems the license on the package is BSL. We try to keep the package source code as proper opensource licenses . Note that surrealdb itself can be BSL, this is not a problem. The license in the repo only on the license of the package. This allows us (cloudron team) to continue to provide updates to the package reliably.

                            O Offline
                            O Offline
                            Odonno
                            wrote on last edited by Odonno
                            #13

                            @girish Ok, this is done. As long as it does not violate the SurrealDB license, I suppose it's ok.

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

                              @Odonno Ok, I have forked it into our namespace - https://git.cloudron.io/cloudron/surrealdb-app . You should also be a maintainer of the repo.

                              So, the next step, is to get the tests working . Then, we will take a look into getting it published. Thanks for all the work!

                              O 1 Reply Last reply
                              0
                              • girishG girish

                                @Odonno Ok, I have forked it into our namespace - https://git.cloudron.io/cloudron/surrealdb-app . You should also be a maintainer of the repo.

                                So, the next step, is to get the tests working . Then, we will take a look into getting it published. Thanks for all the work!

                                O Offline
                                O Offline
                                Odonno
                                wrote on last edited by
                                #15

                                @girish Thank you. I can write the required tests. I am just stuck with the first one in error...

                                1 Reply Last reply
                                0
                                • girishG Offline
                                  girishG Offline
                                  girish
                                  Staff
                                  wrote on last edited by
                                  #16

                                  @Odonno The message is just saying, you have to run cloudron build first before you can run cloudron install . Maybe you changed the repo directory or something? When that happens, it "forgets" the previous cloudron build image information.

                                  O 1 Reply Last reply
                                  0
                                  • girishG girish

                                    @Odonno The message is just saying, you have to run cloudron build first before you can run cloudron install . Maybe you changed the repo directory or something? When that happens, it "forgets" the previous cloudron build image information.

                                    O Offline
                                    O Offline
                                    Odonno
                                    wrote on last edited by
                                    #17

                                    @girish Ah yes, that explains why. I don't know how it keeps track of the correct docker image. I suppose there is a key-value store somewhere.

                                    Well, I finished to write a pretty good set of e2e tests. I think it is ready. Thank you for your help.

                                    girishG 1 Reply Last reply
                                    1
                                    • O Odonno

                                      @girish Ah yes, that explains why. I don't know how it keeps track of the correct docker image. I suppose there is a key-value store somewhere.

                                      Well, I finished to write a pretty good set of e2e tests. I think it is ready. Thank you for your help.

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

                                      @Odonno indeed, the key value store is in ~/.cloudron.json

                                      O 1 Reply Last reply
                                      0
                                      • girishG girish

                                        @Odonno indeed, the key value store is in ~/.cloudron.json

                                        O Offline
                                        O Offline
                                        Odonno
                                        wrote on last edited by
                                        #19

                                        @girish Good to know! So, what's the next step?

                                        girishG 1 Reply Last reply
                                        0
                                        • O Odonno

                                          @girish Good to know! So, what's the next step?

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

                                          @Odonno we will have to find the time to review and publish the package.

                                          1 Reply Last reply
                                          0
                                          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