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.
-
Fork this repository
-
Install the Firebase CLI
-
Set the default project ID in
.firebaserc
:
{
"projects": {
"default": "<FIREBASE_PROJECT_ID>"
}
}
-
Edit the files in
public/
to create your own step-by-step workshop. Themeta.yaml
to configures the metadata such as the project type (Dart or Flutter), number of steps, and title. -
Deploy to Firebase:
firebase deploy
- 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