johnpryan / dartpad_workshop_starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DartPad Workshop Starter Pack

A starter project for DartPad workshops. Follow the quickstart below to create your own step-by-step workshop, similar to these workshops maintained by the Flutter team:

For more information on authoring a DartPad workshop, see the Workshop Authoring Guide on the DartPad wiki.

Quickstart (Firebase Hosting)

  1. Fork this repository

  2. Install the Firebase CLI

  3. Set the default project ID in .firebaserc:

{
  "projects": {
    "default": "<FIREBASE_PROJECT_ID>"
  }
}
  1. Edit the files in public/ to create your own step-by-step workshop. The meta.yaml to configures the metadata such as the project type (Dart or Flutter), number of steps, and title.

  2. Deploy to Firebase:

firebase deploy
  1. Load in DartPad using the following URL, replacing <FIREBASE_PROJECT_ID> with your project ID:
https://dartpad.dev/workshops.html?webserver=https://<FIREBASE_PROJECT_ID>.web.app

About


Languages

Language:Dart 100.0%