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


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    SOLVED Grav - CMS that requires no database

    App Wishlist
    9
    14
    530
    Loading More Posts
    • 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.
    • olidev
      olidev Banned last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 1
      • M-arcus
        M-arcus last edited by

        +1

        I tried it on the LAMP App, installation time: 30 secs

        This is amazing

        cd public/
        wget https://github.com/getgrav/grav/releases/download/1.5.7/grav-admin-v1.5.7.zip
        unzip grav-admin-v1.5.7.zip
        rm grav-admin-v1.5.7.zip
        mv grav-admin/* grav-admin/.[!.]* .
        chown -Rf www-data:www-data .
        
        1 Reply Last reply Reply Quote 4
        • P
          paulhibbitts last edited by

          +1 I'd love to see Grav on Cloudron too!

          M 1 Reply Last reply Reply Quote 1
          • M
            murgero App Dev @paulhibbitts last edited by

            @paulhibbitts - You can do this very simply by installing LAMP and then throwing grav in there. With it being flat-file there is very minimal setup.

            P 2 Replies Last reply Reply Quote 1
            • P
              paulhibbitts @murgero last edited by

              @murgero Thanks very much, will give that try!

              1 Reply Last reply Reply Quote 1
              • P
                paulhibbitts @murgero last edited by paulhibbitts

                @murgero While I've been able to install Grav going with LAMP, having a Grav App would really widen the user base for Grav on Cloudron... I am not a developer but can anyone share with me what is involved in getting an App added? Or perhaps any way to help others get a pre-configure LAMP stack going? Thank you!

                1 Reply Last reply Reply Quote 0
                • jimcavoli
                  jimcavoli App Dev last edited by

                  @paulhibbitts Unfortunately the process of app packaging is quite technical, best aimed at developers and ops engineering types - this is covered in the documentation: https://cloudron.io/documentation/custom-apps/tutorial/ - but being on this list and getting upvotes is the best way to get visibility through upvotes to increase the chances of it being done!

                  1 Reply Last reply Reply Quote 0
                  • jimcavoli
                    jimcavoli App Dev last edited by

                    I have completed an initial packaging for grav - source is up at https://git.cloudron.io/jimcavoli/grav-app
                    Submitted for review already; happy to Q&A any specifics. Everything works in that packaging, but for now the user management is left to the app (no LDAP/cloudron single-sign-on). Plugin installation through the browser works as expected, but as with most Cloudron apps, you can't use the system-level upgrade button in the browser (it just shows an error if you try) since it'll be updated via the Cloudron image.

                    M 1 Reply Last reply Reply Quote 2
                    • M
                      murgero App Dev @jimcavoli last edited by

                      @jimcavoli Good work! I hope to see this in the app store soon!

                      1 Reply Last reply Reply Quote 0
                      • M
                        msbt App Dev last edited by msbt

                        @jimcavoli I thought that all data that's supposed to be backupped has to be in /app/data. Why are you using /run as base for images? I don't know grav, so maybe those aren't important 😉 But I'm still curious, I'm not sure if the data in /run makes it after a reboot

                        1 Reply Last reply Reply Quote 0
                        • girish
                          girish Staff last edited by

                          This is now in unstable. Thanks to @jimcavoli for all the heavy lifting.

                          1 Reply Last reply Reply Quote 0
                          • P
                            paulhibbitts last edited by

                            Thank you so much @jimcavoli!

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post