Exploring the source code
You are now ready to deploy your application, but you should know a little bit more about the code you are about to deploy before you do so. While you could use the following pipelines with any Node.js project, it will be easier to follow along if you have the same code samples.
Start by forking the code repository found at https://github.com/PacktPublishing/tekton-book-app. It is crucial that you create your own fork, so you'll be able to add your webhooks to connect to your trigger. Once your fork is ready, clone the repository, and use the cd
command to get into this new folder:
$ git clone git@github.com:<YOUR_USERNAME>/tekton-book-app.gitgit@github.com:<YOUR_USERNAME>/tekton-book-app.git Cloning into 'tekton-book-app'... remote: Enumerating objects: 36, done. remote: Counting objects: 100% (36/36), done. remote: Compressing objects: 100% (24/24), done. remote: Total 36 (delta 14), reused 30 (delta 8), pack-reused...