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. Directus
  3. Directus : stable? usage?

Directus : stable? usage?

Scheduled Pinned Locked Moved Directus
26 Posts 6 Posters 4.6k Views 8 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.
  • ? A Former User

    @timconsidine I do also make video guides from time to time for these kinds of things so if that’s something you think would help just let me know.

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

    @atrilahiji That's very kind.
    I know it's a lot of work to do a video tutorial, so I wouldn't push you into it.
    If it helps others also, all resources for learning are useful.

    ? 1 Reply Last reply
    0
    • timconsidineT timconsidine

      @atrilahiji That's very kind.
      I know it's a lot of work to do a video tutorial, so I wouldn't push you into it.
      If it helps others also, all resources for learning are useful.

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #10

      @timconsidine Yeah sure. Will probably be have to be tomorrow but I'll post here when I have something.

      timconsidineT 1 Reply Last reply
      2
      • ? A Former User

        @timconsidine Yeah sure. Will probably be have to be tomorrow but I'll post here when I have something.

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

        @atrilahiji So I think I worked it out
        Things I didn't understand / had to do, in case it helps others :

        • install node/npm : I used brew install node
        • install Cloudron CLI : easy from cloudron instructions
        • install Docker : brew didn't work so used DockerDesktop for Mac
        • create docker account
        • start Docker Desktop and log in
        • create folder, cd into it and downloaded to it your repository https://git.atrilahiji.dev/atrilahiji/cloudron-directus9-app
        • cloudron build seemed to work (visible in DockerDesktop) but failed to push image : no idea why, said not logged in but I was
        • docker build worked (as per cloudron instructions)
        • docker pushed worked (as per cloudron instructions)
        • cloudron install worked (as instructions)

        So process is easy, once I understood what I needed to do.

        Only problem is the installed Directus9 fails to load.
        Cloudron says it is running, but Admin page sits with spinning circle, as does the app window.
        But I didn't check your repository for any config changes I needed to make.
        So will do that now and see if I can get it working.
        At least I know now how to build and install a custom app.

        Cloudron is so fantastic, really helped me with app installs and self-hosting.
        It just got more fantastic-er !
        (yeah, yeah, I know, butchering English is my speciality).

        timconsidineT 1 Reply Last reply
        1
        • timconsidineT timconsidine

          @atrilahiji So I think I worked it out
          Things I didn't understand / had to do, in case it helps others :

          • install node/npm : I used brew install node
          • install Cloudron CLI : easy from cloudron instructions
          • install Docker : brew didn't work so used DockerDesktop for Mac
          • create docker account
          • start Docker Desktop and log in
          • create folder, cd into it and downloaded to it your repository https://git.atrilahiji.dev/atrilahiji/cloudron-directus9-app
          • cloudron build seemed to work (visible in DockerDesktop) but failed to push image : no idea why, said not logged in but I was
          • docker build worked (as per cloudron instructions)
          • docker pushed worked (as per cloudron instructions)
          • cloudron install worked (as instructions)

          So process is easy, once I understood what I needed to do.

          Only problem is the installed Directus9 fails to load.
          Cloudron says it is running, but Admin page sits with spinning circle, as does the app window.
          But I didn't check your repository for any config changes I needed to make.
          So will do that now and see if I can get it working.
          At least I know now how to build and install a custom app.

          Cloudron is so fantastic, really helped me with app installs and self-hosting.
          It just got more fantastic-er !
          (yeah, yeah, I know, butchering English is my speciality).

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

          False alarm : app from @atrilahiji does work 'out of box'

          I normally launch my Cloudron inside of a WebCatalog instance, and for some strange reason I don't understand, the admin page does not load in a Webcatalog browser window.
          But in a normal browser window (and in a dedicated Webcatalog instance) it does load fine.

          So custom app installed and working. Thanks so much @atrilahiji !

          Now I have to build the front-end for the Directus9 back-end.
          And some more new tech to learn unless I fall back on PHP use of API.
          But hey, life's for learning.

          ? 1 Reply Last reply
          0
          • timconsidineT timconsidine

            False alarm : app from @atrilahiji does work 'out of box'

            I normally launch my Cloudron inside of a WebCatalog instance, and for some strange reason I don't understand, the admin page does not load in a Webcatalog browser window.
            But in a normal browser window (and in a dedicated Webcatalog instance) it does load fine.

            So custom app installed and working. Thanks so much @atrilahiji !

            Now I have to build the front-end for the Directus9 back-end.
            And some more new tech to learn unless I fall back on PHP use of API.
            But hey, life's for learning.

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #13

            @timconsidine Ah I see, I'm glad it worked! Yeah I actually just re-did my blog using directus9 and Gridsome (Gatsby but with Vue instead of React): https://git.atrilahiji.dev/atrilahiji/personal-site

            timconsidineT 1 Reply Last reply
            2
            • ? A Former User

              @timconsidine Ah I see, I'm glad it worked! Yeah I actually just re-did my blog using directus9 and Gridsome (Gatsby but with Vue instead of React): https://git.atrilahiji.dev/atrilahiji/personal-site

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

              @atrilahiji Nice

              I'm currently committed to Hugo as static site engine.
              But will certainly consider how to use Directus with it later.
              And learn about gatsby/gridsome - they seem popular.

              But for now a more pressing project.
              Build front-end website which allows users to buy "tickets" for an event, capturing their data and their choice of event selections, storing the choices and user info in Directus table for later processing.

              This could all be done with a regular form or poll or survey app, but I want the data stored in a way it can be checked, assessed and acted on, not just get a form response by traditional email, which would then loading in a database.

              I hope this is a suitable use case for Directus, even though it's not the regular headless CMS use case.

              ? 1 Reply Last reply
              0
              • timconsidineT timconsidine

                @atrilahiji Nice

                I'm currently committed to Hugo as static site engine.
                But will certainly consider how to use Directus with it later.
                And learn about gatsby/gridsome - they seem popular.

                But for now a more pressing project.
                Build front-end website which allows users to buy "tickets" for an event, capturing their data and their choice of event selections, storing the choices and user info in Directus table for later processing.

                This could all be done with a regular form or poll or survey app, but I want the data stored in a way it can be checked, assessed and acted on, not just get a form response by traditional email, which would then loading in a database.

                I hope this is a suitable use case for Directus, even though it's not the regular headless CMS use case.

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #15

                @timconsidine I think it would be. Directus is generic enough I would think. Rather than being specifically focused on posts or blog content it is more so just an API wrapper over an SQL DB.

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

                  @timconsidine
                  This seems like a better job for EspoCRM.

                  Conscious tech

                  timconsidineT 1 Reply Last reply
                  0
                  • robiR robi

                    @timconsidine
                    This seems like a better job for EspoCRM.

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

                    @robi Yes, EspoCRM is an option.

                    But I have only used their web-to-lead capture, which doesn't seem suitable, even with adding custom fields. I'm thinking that I would need to create a new Entity, and I have not yet checked how their API supports accessing a custom entity. Have you worked with their API much ?

                    robiR marcusquinnM 2 Replies Last reply
                    0
                    • timconsidineT timconsidine

                      @robi Yes, EspoCRM is an option.

                      But I have only used their web-to-lead capture, which doesn't seem suitable, even with adding custom fields. I'm thinking that I would need to create a new Entity, and I have not yet checked how their API supports accessing a custom entity. Have you worked with their API much ?

                      robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #18

                      @timconsidine No, but @marcusquinn has

                      Conscious tech

                      1 Reply Last reply
                      1
                      • timconsidineT timconsidine

                        @robi Yes, EspoCRM is an option.

                        But I have only used their web-to-lead capture, which doesn't seem suitable, even with adding custom fields. I'm thinking that I would need to create a new Entity, and I have not yet checked how their API supports accessing a custom entity. Have you worked with their API much ?

                        marcusquinnM Offline
                        marcusquinnM Offline
                        marcusquinn
                        wrote on last edited by
                        #19

                        @timconsidine Yeah, it really couldn't be simpler - best recommendation is to try it - I've been working with it since the beginning of the year and very happy with it all.

                        You don't need any of the paid add-ons, although the advanced pack is nice if you want to automate later but it's all fully functional, unrestricted, and well worth learning.

                        Web Design https://www.evergreen.je
                        Development https://brandlight.org
                        Life https://marcusquinn.com

                        timconsidineT 1 Reply Last reply
                        1
                        • marcusquinnM marcusquinn

                          @timconsidine Yeah, it really couldn't be simpler - best recommendation is to try it - I've been working with it since the beginning of the year and very happy with it all.

                          You don't need any of the paid add-ons, although the advanced pack is nice if you want to automate later but it's all fully functional, unrestricted, and well worth learning.

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

                          @marcusquinn thank you
                          Are you using PHP to access the API ?

                          marcusquinnM 1 Reply Last reply
                          0
                          • timconsidineT timconsidine

                            @marcusquinn thank you
                            Are you using PHP to access the API ?

                            marcusquinnM Offline
                            marcusquinnM Offline
                            marcusquinn
                            wrote on last edited by
                            #21

                            @timconsidine At the moment only Integromat integrations but, if you're taking web frontends then any JAMstack framework should work. I intend to setup a prototype with perhaps Gatsby at some point. Depends on your objectives but a search for JAMstack themes or JAMstack dashboards might give you some ideas.

                            Web Design https://www.evergreen.je
                            Development https://brandlight.org
                            Life https://marcusquinn.com

                            1 Reply Last reply
                            1
                            • ? Offline
                              ? Offline
                              A Former User
                              wrote on last edited by
                              #22

                              This is a good resource: https://jamstackthemes.dev/

                              ruihildtR 1 Reply Last reply
                              3
                              • ? A Former User

                                This is a good resource: https://jamstackthemes.dev/

                                ruihildtR Offline
                                ruihildtR Offline
                                ruihildt
                                wrote on last edited by
                                #23

                                @atridad I just tried installing it for my upcoming project and there's an issue with the node version: https://github.com/directus/directus/issues/6674

                                On the container build from your repo, the nove version is too old: 12.16.2 is used but at least 12.20 is required.

                                How can we update node?

                                nebulonN 1 Reply Last reply
                                0
                                • ruihildtR ruihildt

                                  @atridad I just tried installing it for my upcoming project and there's an issue with the node version: https://github.com/directus/directus/issues/6674

                                  On the container build from your repo, the nove version is too old: 12.16.2 is used but at least 12.20 is required.

                                  How can we update node?

                                  nebulonN Offline
                                  nebulonN Offline
                                  nebulon
                                  Staff
                                  wrote on last edited by
                                  #24

                                  @ruihildt in such a case you can follow what is done with other apps, requiring specific nodejs versions like RocketChat https://git.cloudron.io/cloudron/rocketchat-app/-/blob/master/Dockerfile#L17

                                  ruihildtR 1 Reply Last reply
                                  1
                                  • nebulonN nebulon

                                    @ruihildt in such a case you can follow what is done with other apps, requiring specific nodejs versions like RocketChat https://git.cloudron.io/cloudron/rocketchat-app/-/blob/master/Dockerfile#L17

                                    ruihildtR Offline
                                    ruihildtR Offline
                                    ruihildt
                                    wrote on last edited by ruihildt
                                    #25

                                    @nebulon Thanks, I could make it run that way.

                                    @atridad I see elsewhere you mentioned a Directus9 package 0.6 with the cloudron base image 3, but I couldn't find it in your gitlab, is there a second place where you store images?

                                    Also, in the email invite link to new users, the url of the app is missing. (so it's http://admin/accept-invite?token=random_token)

                                    ? 1 Reply Last reply
                                    0
                                    • ruihildtR ruihildt

                                      @nebulon Thanks, I could make it run that way.

                                      @atridad I see elsewhere you mentioned a Directus9 package 0.6 with the cloudron base image 3, but I couldn't find it in your gitlab, is there a second place where you store images?

                                      Also, in the email invite link to new users, the url of the app is missing. (so it's http://admin/accept-invite?token=random_token)

                                      ? Offline
                                      ? Offline
                                      A Former User
                                      wrote on last edited by
                                      #26

                                      @ruihildt oh sorry I’ve been super inactive lately since my wedding date draws closer. So much to do! I’ll take a look at that as soon as possible.

                                      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