To get a full setup of Google Codelabs you can follow this tutorial https://medium.com/@zarinlo/publish-technical-tutorials-in-google-codelab-format-b07ef76972c. However, not everything is needed to get started.
- claat (included in this repo for mac and linux, for windows please go ahead and download it)
For development:
- Go language
- Node.js v10+ and npm
Start your tutorial by taking a look at the tutorial-template.md
file in this folder. You can just duplicate the file and adopt it to get started easily. The contents of the file should be self-explanatory.
-
Generate ONLY ONE tutorial and test it locally
./builder.sh my-tutorial.md claat serve
-
Generate ALL tutorials and test it locally
./builder.sh claat serve
-
To generate not only the local preview for the tutorials themselves but also the overview page of all tutorials, execute the following command and navigate to the URL that is given to you after executing the command:
gulp serve
-
If you want to generate the content without starting the server for preview, execute the following command:
gulp dist