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:

Integrating Django Templates With React For Dynamic Webpages

Integrating Django templates with React for dynamic webpages

Create a dynamic demo blog site using Django and React to demonstrate Django’s server-side functionalities and React’s interactive UI.

Kayode Adeniyi
Apr 18, 2024 â‹… 7 min read
Using Aoi Js To Build A Bot For Discord

Using aoi.js to build a bot on Discord

Explore how the aoi.js library makes it easy to create Discord bots with useful functionalities for frontend applications.

Rahul Padalkar
Apr 17, 2024 â‹… 9 min read
Web Components Adoption Guide: Overview, Examples, And Alternatives

Web Components adoption guide: Overview, examples, and alternatives

Evaluate Web Components, a set of standards that allow you to create custom HTML tags for more reusable, manageable code.

Elijah Asaolu
Apr 16, 2024 â‹… 11 min read
Using Aws Lambda And Aws Cloudfront To Optimize Image Handling

Using AWS Lambda and CloudFront to optimize image handling

Leverage services like AWS Lambda, CloudFront, and S3 to handle images more effectively, optimizing performance and providing a better UX.

Nitish Sharma
Apr 12, 2024 â‹… 12 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