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


    Cloudron Forum

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

    Best Choice for Static Website

    Surfer
    surfer memory
    6
    9
    549
    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.
    • E
      echokos last edited by girish

      I'm wondering what the best option (available in Cloudron) would be to deploy a static website (html/images/js/css)? I'm not interested in the overhead of Lamp and we don't have an nginx-only option yet which I think would be closer to ideal. Maybe Github Pages but I'm not sure how that works exactly as I don't really care to deploy to Github first.

      ** I'm looking for speed as a primary feature

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

        you could give surfer a try

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

          +1 for surfer. it's just a very simple node app that servers static assets. There is also a CLI tool to push/pull your static assets.

          1 Reply Last reply Reply Quote 2
          • W
            will @echokos last edited by

            @echokos Github Pages is easy if you know git decently. Im half retarded and I got it running. Ping me if you want a step by step.

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

              Also, GitHub pages doesn't require GitHub or anything!

              GitHub pages, as supported by GitHub, is really just Jekyll with specific supported plugins. What we have done is to support the same static page templating using https://github.com/github/pages-gem. The idea is that if you had deployed your site to GitHub pages previously, you can now easily deploy the same site with no changes to Cloudron using this app (or viceversa). So instead of pushing to github, you can push the very same site to the pages app.

              jdaviescoates 1 Reply Last reply Reply Quote 4
              • jdaviescoates
                jdaviescoates @girish last edited by

                @girish I'd love to see a simple "how to use gitea/gogs + github pages to create a hello world website on cloudron" 🙂

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply Reply Quote 1
                • E
                  echokos last edited by

                  Interesting conversation. Thanks, all.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    masonbee @echokos last edited by

                    @echokos Did youcome up with an answer to this. I am looking to do the same and I can deploy a LAMP stack or Surfer to do a single static site but at a cost of 256MB each. What I would like is to be able to use one Surfer or LAMP stack to serve many domains.

                    EG; 10 x static sites = 2560MB of usage in Cloudron whereas anywhere else I can serve 10 static sites with less that half that.

                    girish 1 Reply Last reply Reply Quote 1
                    • girish
                      girish Staff @masonbee last edited by

                      @masonbee The memory limit setting is the "maximum memory" before which the app is killed for over use. It is not "reserved memory" i.e it's not pre-allocated to the app and thus cannot be used by any other app. The "maximum memory" simply ensures that a single web app cannot bring down the whole system.

                      1 Reply Last reply Reply Quote 2
                      • Referenced by  Q qwinter 
                      • First post
                        Last post
                      Powered by NodeBB