go env GOROOT
## not required if you're only using Go modules
export GOPATH=$HOME/go
export GOROOT=/usr/local/go
## required
export PATH=$PATH:$HOME/go/bin
go version
go install github.com/googlecodelabs/tools/claat@latest
claat help
cd tools-main/site
Please Note: This codelab needs older node and python versions - which have already reached end of life. But when it works, it works! So let's not break it.
We will use nvm as package manager for node and pyenv for python.
brew install nvm
Now let's setup Node version first:
.nvmrc file so that you can always remember the right node version to use for claat.touch .nvmrc
open .nvmrc
12 in the .nvmrc and save it.nvm install
Use nvm use everytime to switch to using this version when in this repo!
pyenv install 2.7.18
.python-version file and uses it to always choose the right python version when working in this directory:pyenv local 2.7.18
gulp and gulp-cli and also other dependencies:npm i gulp
npm i -g gulp-cli
npm i
Setup is ready! Run:
gulp serve

Hooray! It works 🎉
Time to open this in an IDE if you have not already!
/site called /codelabs and then another new folder /assets under /codelabs:tools
|-- site
|--|-- codelabs
|--|--|-- assets

claat export mycodelab.md
Note: It will create a static site for you.

/site folder and run serve:cd ..
gulp serve --codelabs-dir=codelabs

Use your markdown skills! Once you are happy we can move to next step - Deploy!!
You can either follow this quickstart: https://firebase.google.com/docs/hosting/quickstart or instructions here:
nvm use node
npm i -g firebase-tools
firebase --version
[Optional] If you are using Firebase CLI for the first time, you might need to login, which you can do by:
firebase login
/codelabs and initialise the firebase hosting:firebase init hosting
It will prompt you to provide some information such as the directory where the codelab is, if you want it to be a SPA (Single Page Application), if you want to configure CI/CD for github and most importantly, whether you want it to create an index.html - since you already have got it, don't let it override. And that's it! 
firebase deploy --only hosting
your-project.web.app