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:

Gemini CLI vs Codex CLI: A Comparative Analysis

Does Gemini CLI fall short? Here’s how Codex compares

Compare Codex CLI vs Gemini CLI for real-world coding tasks. See strengths, weaknesses, and which AI CLI fits your developer workflow best.

Emmanuel John
Aug 20, 2025 â‹… 8 min read
Is Next.js Still Developer-Friendly?

Is Next.js still developer-friendly?

The question isn’t whether Next.js is good or bad; it’s whether the productivity gains are worth the complexity tax.

Chizaram Ken
Aug 20, 2025 â‹… 5 min read
Don’t Let AI Erase The Next Generation Of Dev Leaders

Don’t let AI erase the next generation of dev leaders

As AI tools take over more routine coding work, some companies are cutting early-career dev roles — a short-sighted move that could quietly erode the next generation of tech leaders if we aren’t careful.

Jack Herrington
Aug 19, 2025 â‹… 6 min read
Nuxt 4.0 Is Here: What’s New And What To Expect

Nuxt 4.0 is here: What’s new and what to expect

Learn what’s new in Nuxt 4, from the app/ directory to TypeScript improvements and data fetching changes. Plus, tips for a smooth migration.

Ikeh Akinyemi
Aug 19, 2025 â‹… 4 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