From 51f46000d15e1f70b5dd5a8a75cc49eeedd0afe0 Mon Sep 17 00:00:00 2001 From: Kevin Wells <kevinwells@google.com> Date: Mon, 30 Jul 2018 14:56:13 -0700 Subject: [PATCH] [docs] Add intro section for pushing packages Change-Id: Ia26ecc9aabe4e541867714584a8f03226c8c2502 --- getting_started.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/getting_started.md b/getting_started.md index 765c675a6e3..21f6ed00acd 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 -- GitLab