2020-07-27
3052
#svelte
Donovan Hutchinson
22299
Jul 27, 2020 â‹… 10 min read

Hosting your own Svelte / Sapper app

Donovan Hutchinson JavaScript developer. Solving UX challenges, designing and building web things, teaching @cssanimation, and always learning.

Recent posts:

Leveraging React Server Components In Redwoodjs

Leveraging React Server Components in RedwoodJS

RedwoodJS announced support for server-side rendering and RSCs in its Bighorn release. Explore this feature for when it’s production-ready.

Stephan Miller
May 6, 2024 â‹… 9 min read
Exploring The Aha Stack: Astro, Htmx, Alpine — A Complete Tutorial With A Demo Project And Comparison To Other Stacks

Exploring the AHA stack: Tutorial, demo, and comparison

The AHA stack — Astro, htmx, and Alpine — is a solid web development stack for smaller apps that emphasize frontend speed and SEO.

Oyinkansola Awosan
May 3, 2024 â‹… 13 min read
Comparing Hattip Vs Express Js For Modern Application Development

Comparing Hattip vs. Express.js for modern app development

Explore what Hattip is, how it works, its benefits and key features, and the differences between Hattip and Express.js.

Antonello Zanini
May 2, 2024 â‹… 8 min read
Using React Shepherd To Build A Site Tour

Using React Shepherd to build a site tour

React Shepherd stands out as a site tour library due to its elegant UI and out-of-the-box, easy-to-use React Context implementation.

Onuorah Bonaventure
May 1, 2024 â‹… 14 min read
View all posts

8 Replies to "Hosting your own Svelte / Sapper app"

  1. Very useful info – Thank you!

    One error. it appears that something the system doesn’t like underscores ‘_’. as a result, the top line in the file listing contains errors.

    As listed:
    proxycachepath /var/cache/nginx levels=1:2 keyszone=mycache:10m maxsize=10g inactive=480m usetemp_path=off;

    Correct:
    proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=my_cache:10m max_size=10g inactive=480m use_temp_path=off;

    Still, your article really helped me out.

    Thanks again!

  2. Hey Donovan,

    First thank you for the nice writeup!
    There’s a typo in your post-receive hook, you used both GITDIR and GIT_DIR, this leads to a syntax error that took me quite a while to figure out. If you’re already in the process of fixing this, maybe also change from master to main for the branch check.

    Best, Luca

Leave a Reply