Sunday, December 6, 2020

Lab 9 - The last chronicle

 Hey PC readers, 

Welcome back to my channel!

As the name says, this is our last lab of this semester Lab 9. In the last tale of the lightening labs, we would release our product/app/hard-work/semester-fruitful-end in this lab. In the previous lab, we did CI(Continuous Integration), in this one we would do the CD(continuous delivery), basically you are making it easier for users to use your final product rather than doing all the setup and geeky stuff. Like you do in your phones, or other electronics, you just download the release/update and install it by the press of the button, right? So simple, so this is basically the idea of this lab.

We started by selecting the release tool, as I used JavaScript for my URL-inspector, I used npmjs.com and I thought it would be so hard to do this lab. Apparently, it was not thattttt hard as I expected. To be honest, I got scared because this was more of the self-research than step to step guide like in previous lab, and then it hit me, that is what real world is about right. Prof. Dave is pushing us to be market ready, and thanks for it, honestly. I feel so much better at the end of this semester as a developer. Anyway, going back to the lab, I had to do research on how to release my tool, I took help from the docs : here and YouTube, of-course, the life savour, as always.

First thing, to start, was to create an account on npmjs.com and verify it. I linked my github with this also.

Then, I changed my package.json for this release, thankfully I checked before doing all the work if my tool name is identical to others or not. Thanks to a friend for the tip! you know who you are 👼. I updated my tool name to urls-inspector because apparently, there were many url-inspector or aliases there, hmm I wonder why, lol. Also, I changed my version to 1.0.0, about time I guess. There have been so many changes to this tool since September, phew.  I pushed these changes to my master branch also.

Then I tagged my release using this command:


Then, I used this command to push the tag:

 

Later on, I went on to release my tool online and I used this to publish it:

It gave me errors: 

I realized I have not logged in to my npm account yet. Then I logged in with my npm credentials in my tool terminal. It asked for the username, password, and email. Try to use the same email as your github to link it properly. I tried again for publishing once I was logged in, and Voila! It worked, I now have a published tool at https://www.npmjs.com/package/urls-inspector

For testing, I asked one of my peers to check. It worked nicely. My peer was able to install it properly as instructed and could understand what the tool did and the features properly. :) Happy moment.


Easy peezy install with:

Thank you so much for reading my blogs! This is the journey for the awesome labs of this course! 

URL-inspector, I will miss you a lot! You have inspected my urls and my patience various times and I am grateful for that. Thanks Prof. Dave and my friends/peers who directly or indirectly helped me, pushed me to complete these labs. Amazing course, must take for the BSD, I would say!


See you in the next blog!

Best,

PC

Lab 9 - The last chronicle

 Hey PC readers,  Welcome back to my channel! As the name says, this is our last lab of this semester Lab 9. In the last tale of the lighten...