Short sample and instructions for configuring a Flutter Web application to deploy-on-push to Firebase Hosting

Overview

Sample hosted at flutterweb-101.web.app.

  1. Creat a Flutter web project
flutter create --platforms=web .
  1. Create a Firebase project

  2. Enable hosting

    • Click on "Hosting" on the left navigation (on the Firebase project page)
    • Follow the instructions to install the Firebase CLI tools (if you don't already have them installed).
    • When running firebase init, choose Hosting and GitHub Action deploys.
    • When going through the configuration, set "public" to build/web.
    • Change the build command to flutter build web.
  3. Update .github/workflows for Flutter

    • Update the two generated firebase-hosting- files to include Flutter setup:
    steps:
       # This has to come before `flutter bulid web`
       - uses: subosito/[email protected]
       with:
          # Defining the channel is optional - I'm using beta
          channel: beta
          # Setting cache is also optional, although this does speed up builds!
          cache: true
       - uses: actions/checkout@v2
You might also like...

Get started with GatsbyJS straight away without having to spend a whole day configuring your usual addons.

Get started with GatsbyJS straight away without having to spend a whole day configuring your usual addons.

Gatsby Starter Infinite Get started with GatsbyJS straight away without having to spend a whole day configuring your usual addons. This starter includ

Jun 27, 2022

Optimized dracula theme vscode extension for flutter, web, electron and golang development.

Optimized dracula theme vscode extension for flutter, web, electron and golang development.

Optimized Dracula Theme A color theme inspired by dracula color theme. This color theme is not based on dracula color theme. The color styles are simi

Jul 11, 2022

A W3C standard compliant Web rendering engine based on Flutter.

A W3C standard compliant Web rendering engine based on Flutter.

WebF WebF (Web on the Flutter) is a W3C standard compliant Web rendering engine based on Flutter, it can run web application on Flutter natively. W3C

Dec 25, 2022

Like Obsidian Publish but for self-hosting. Plugin integrations for dataview, admonition, and more.

Obsidian Export Obsidian Publish is great but lacks support for many of the plugins we Obsidian addicts have grown accustomed to — in particular Datav

Nov 28, 2022

Official repository hosting the Runtipi App Store. Submit apps and updates here.

Tipi App Store ⛺️ This is the official repository for the Tipi App Store. It contains all the apps that are available for download on Tipi. Apps avail

Jan 3, 2023

2 player tictactoe-hosting TCP server in 640 bytes

tictactinytoe 2 player tictactoe-hosting TCP server in 640 bytes: F=_={x=o=z=0;t=1};F();require("net").createServer(c={h="\n";w=s=c.write(s+h);if(o

Jul 27, 2022

Image hosting based on Cloudflare R2. Supports PicGo.

Cloudflare R2 ImageBed English | 简体中文 CF-R2-ImageBed is a image hosting service based on Cloudflare R2 object storage. PicGo supported. Cloudflare R2

Oct 4, 2022

the music metadata you love, with IPFS hosting on nft.storage :rainbow:

the music metadata you love, with IPFS hosting on nft.storage :rainbow:

Music NFT IPFS Metadata Standard for musicians pioneered by Catalog & Mint Songs. Compatible with contracts created by: Catalog Sound.xyz Manifold - W

Oct 17, 2022

This repo contains instructions on how to create your NFT in Solana(using Metaplex and Candy Machine) and mint it using your custom front-end Dapp

This repo contains instructions on how to create your NFT in Solana(using Metaplex and Candy Machine) and mint it using your custom front-end Dapp

Solana-NFT minting Dapp Create your own NFT's on Solana, and mint them from your custom front-end Dapp. Tools used Metaplex - Metaplex is the NFT sta

Nov 2, 2022
Owner
Kevin Moore
A Product Manager at @google working on @dart-lang and @flutter web technologies and our package ecosystem.
Kevin Moore
GitHub Action to Push Build Information to Octopus Deploy

push-build-information-action This is a GitHub Action to push build information to Octopus Deploy. This action captures the following build informatio

Octopus Deploy 6 Nov 7, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
This is an application that entered the market with a mobile application in real life. We wrote the backend side with node.js and the mobile side with flutter.

HAUSE TAXI API Get Started Must be installed on your computer Git Node Firebase Database Config You should read this easy documentation Firebase-Fires

Muhammet Çokyaman 4 Nov 4, 2021
Sample of CI/CD auto deploy to own server via Github Actions

Psst — looking for a more complete solution? Check out SvelteKit, the official framework for building web applications of all sizes, with a beautiful

MauCoding 2 Mar 19, 2022
Sample code for resizing Images with Lambda@Edge using the Custom Origin. You can deploy using AWS CDK.

Resizing Images with Lambda@Edge using the Custom Origin You can resize the images and convert the image format by query parameters. This Lambda@Edge

AWS Samples 16 Dec 11, 2022
Repository for the LogRocket meetup: Configuring ESLint And Prettier For TypeScript. ✨

logrocket-eslint-prettier-typescript ✨ Configuring ESLint And Prettier For TypeScript ✨ Join Josh Goldberg on October 21st at 2 p.m. EDT and learn how

Josh Goldberg 8 Dec 21, 2022
Automating Beef to use over wan without configuring your router

BeefAuto Follow on Social Media Platforms python script Automate Beef And Configure it to use overwan by using ngrok to open ports ScreenShots INSTALL

youhacker55 50 Dec 6, 2022
All-in-one solution for configuring ESLint in all of your projects

✨ All-in-one solution for configuring ESLint in all of your projects ✨ ⚠️ May not work in your project. This is related to eslint module resolution pr

Eslint Kit 53 Nov 28, 2022