text
stringlengths
0
445
});
};
Now we can run this thing locally and watch our timer do it’s thang.
That’s it! Let’s deploy it.
Deploying Weather Bulb
I can create a new Functions project from the VS Code extension.
I can right-click that to “Open in portal” where I can define a deployment source so it sucks my code in from Github and deploys it. This is ideal because now whenever I push a change to Github, my application automatically gets redeployed.
All Hail the Weather Bulb
Now just sit back and behold the soft glow of the Weather Bulb! Why look at the actual temperature when you can look at this beautiful shade of hot pink instead?
Can you guess what the temperature is based on what you know from this article? The person who leaves a comment and gets the closest will get a free LIFX lightbulb from me (because I ❤️ all of you), or the cost of the bulb if you are outside the U.S. (~$40).
You can grab all of the code for this project from Github.