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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Best Choice for Static Website

Scheduled Pinned Locked Moved Surfer
surfermemory
9 Posts 6 Posters 637 Views
    • 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 Offline
    E Offline
    echokos
    wrote on last edited by girish
    #1

    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
    0
  • M Offline
    M Offline
    msbt App Dev
    wrote on last edited by
    #2

    you could give surfer a try

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

    +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
    2
  • W Offline
    W Offline
    will
    replied to echokos on last edited by
    #4

    @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
    2
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by girish
    #5

    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.

    jdaviescoatesJ 1 Reply Last reply
    4
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to girish on last edited by
    #6

    @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
    1
  • E Offline
    E Offline
    echokos
    wrote on last edited by
    #7

    Interesting conversation. Thanks, all.

    M 1 Reply Last reply
    0
  • M Offline
    M Offline
    masonbee
    replied to echokos on last edited by
    #8

    @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.

    girishG 1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to masonbee on last edited by
    #9

    @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
    2
  • Q qwinter referenced this topic on

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.