From bfd235873fa1bb3f6875df6b4ce0500c379a5e69 Mon Sep 17 00:00:00 2001 From: John Paul Keenan Date: Tue, 20 Dec 2016 11:47:53 -0800 Subject: [PATCH] cleanedUp --- worker/reference/configuration-variables/index.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/worker/reference/configuration-variables/index.md b/worker/reference/configuration-variables/index.md index 047be4c3..3811b9b9 100644 --- a/worker/reference/configuration-variables/index.md +++ b/worker/reference/configuration-variables/index.md @@ -35,8 +35,10 @@ layout: post
config.json
-``` javascript +```sh { + "project_id":"1234567890abcderghijklmn", + "token":"0987654321uhgtehrrgfgdhrhfg" "MY_CONFIG_VARIABLE": 12345678901234567890, "MY_CONFIG_VARIABLE2": "ASDGFHJTHFVCBDXFGHSF" } @@ -68,7 +70,6 @@ Most of our [client libraries](/worker/libraries/) have helper methods to help w

it is often times useful to change configuration variables without having to reupload your code. We allow you to do so visually with our Dashboard by following two simple steps.

Navigate to the Dashboard http://dash.iron.io. next navigate to your uploaded code's information by clicking on the code tab and your worker's name. NOTE: for those who remotely build their workers, please make sure you select your worker and not the remote build process

-hud-view-code

Through your Worker Code's dashboard you have a useful box where you can change your configuration information in yml format! i.e Key seperated by a colon and the value without quotations and no commas delimiting the values.

hud-config-setup

click edit and...voila! your worker now has updated configuration variables without having to reupload your worker or enter the commandline!