Sapper On Cloud Run screenshot

Sapper On Cloud Run

Author Avatar Theme by Mootoday
Updated: 22 Dec 2020
11 Stars

A boilerplate to deploy Sapper (Svelte) applications to Cloud Run (https://cloud.run)

Overview

Deploying Sapper applications to the cloud has never been easier with the Gitpod Ready-to-Code boilerplate for Cloud Run. This solution simplifies the process, allowing developers to focus more on building their applications rather than getting lost in the deployment details. Built with seamless integration in mind, it provides a streamlined approach to deploy Sapper (Svelte) applications using Google’s serverless platform.

With an easily configurable pipeline, this boilerplate supports continuous deployment, enabling developers to merge their updates directly into the master branch and have their changes automatically built and deployed. It’s perfect for anyone looking to leverage the capabilities of Google Cloud Run for their Sapper applications.

Features

  • Seamless Cloud Run Integration: Effortlessly deploy Sapper applications to Cloud Run, a fully managed serverless platform that handles scaling for you.

  • Continuous Deployment Pipeline: Automatically builds and deploys your Docker images to Cloud Run upon merging into the master branch via the Cloud Build GitHub app.

  • Local Testing with Docker: Includes convenient NPM scripts to build and run your Docker images locally, making development straightforward and efficient.

  • Custom Domain Mapping: Easily associate your applications with a verified custom domain using simple DNS configurations.

  • Clear Documentation: Comprehensive blog posts and guides provide valuable insights on deploying Sapper applications and managing Firebase Hosting for static assets.

  • Setup Assistance: Step-by-step instructions for setting up the Artifact Registry, Cloud Build, and Cloud Run, ensuring smooth and error-free configurations.

  • User-Friendly Error Handling: Guides for resolving common issues, such as enabling the Compute Engine service to avoid service account errors.

This boilerplate not only saves time but also provides a solid foundation for those looking to enhance their Sapper web apps with robust cloud deployment functionalities.