diff --git a/getting_started.md b/getting_started.md index 765c675a6e3f63db5e7e25abb71d9d8101865ddc..21f6ed00acdf3a1d01370d1db6329f6bbd9e01bf 100644 --- a/getting_started.md +++ b/getting_started.md @@ -205,6 +205,35 @@ dm help dm shutdown ``` +### Change some source + +Almost everything that exists on a Fuchsia system is stored in a Fuchsia +package. A typical development +[workflow](https://fuchsia.googlesource.com/docs/+/master/development/workflows/package_update.md) +involves re-building and pushing Fuchsia packages to a development device or +QEMU virtual device. + +Make a change to the rolldice binary in `garnet/bin/rolldice/src/main.rs`. + +In a separate shell, start the development update server, if it isn't already +running: + +``` +fx serve -v +``` + +Re-build and push the rolldice package to a running Fuchsia device with: + +``` +fx build-push rolldice +``` + +From a shell prompt on the Fuchsia device, run the updated package with: + +``` +run rolldice +``` + ### Select a tab Fuchsia shows multiple tabs after booting [with graphics