<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Michael Ekpang on Medium]]></title>
        <description><![CDATA[Stories by Michael Ekpang on Medium]]></description>
        <link>https://medium.com/@michaelekpang?source=rss-b6db12d7a726------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Ety2XBTbVH-fwKju.</url>
            <title>Stories by Michael Ekpang on Medium</title>
            <link>https://medium.com/@michaelekpang?source=rss-b6db12d7a726------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 02:22:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@michaelekpang/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Creating a CI/CD pipeline using Github Actions]]></title>
            <link>https://medium.com/@michaelekpang/creating-a-ci-cd-pipeline-using-github-actions-b65bb248edfe?source=rss-b6db12d7a726------2</link>
            <guid isPermaLink="false">https://medium.com/p/b65bb248edfe</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[pipeline]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[cicd]]></category>
            <category><![CDATA[github-actions]]></category>
            <dc:creator><![CDATA[Michael Ekpang]]></dc:creator>
            <pubDate>Fri, 27 Sep 2019 08:14:52 GMT</pubDate>
            <atom:updated>2019-09-27T11:10:09.973Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oFyRD82Cg97QFtH87lRY2Q.png" /></figure><p>Recently, Github announced that <em>Github Actions</em> now has support for CI/CD. What this means is that developers can now start using <em>GitHub Actions</em> to create a CI/CD pipeline. In this tutorial, we are going to build a CI/CD pipeline using <em>Github Actions</em>, the pipeline will deploy a react app to Heroku.</p><p><em>Github Action</em> is still in beta, for you to have access to it you need to signup for the <a href="https://github.com/features/actions">beta program.</a></p><p>If Actions has been activated on your account you will see the actions tab appear on your repo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8fu4pbz4a9aWfZDGjG-_LQ.png" /><figcaption>A repo with GitHub actions enabled</figcaption></figure><h3>Let’s get started</h3><p><em>The first thing we have to do is to create our react project, we are using create-react-app</em></p><ul><li>Open your terminal and run</li></ul><pre> npx create-react-app github-ci</pre><p>From the command above <strong>github-ci </strong>will be the folder name for our react app project.</p><ul><li>Open your project on your code editor</li><li>Create a repository on GitHub</li><li>Add the git remote origin to your project</li></ul><pre>git remote add origin <a href="https://github.com/ekpangmichael/github-ci.git">https://github.com/ekpangmichael/github-ci.git</a> </pre><p><strong><em>The next step is to create our Actions (workflow)</em></strong></p><p>The action must be created inside a <strong>.github/workflow/ </strong>folder for it to be accessible by Github</p><ul><li>To create the folder structure, run the command below inside the root of your project directory</li></ul><pre>mkdir .github/<br>mkdir .github/workflows/</pre><p>Your folder structure should look like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*XG64Ay_8RZDNAPX80RELEQ.png" /></figure><p>Next, let&#39;s create our workflow files inside the workflows folder, this file should be a yml file</p><pre>touch .github/workflows/ci.yml</pre><p>This will create a file call ci.yml inside your workflows folder, the name of this file is up to you, you can give this file any name but just make sure that it ends with .yml</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*iVuW0kHzPUd9j7NazYrRlQ.png" /></figure><ul><li>Open the ci.yml file and paste the code snippet below</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2f9860a9ac85268aff79dc08496c6286/href">https://medium.com/media/2f9860a9ac85268aff79dc08496c6286/href</a></iframe><p>Lets explains what each of the lines does</p><p><strong>name: CI</strong></p><p>This is just specifying a name for the workflow</p><p><strong>on: [push]</strong></p><p>The <strong>on</strong> command is used to specify an event that will trigger the workflow, this event can be <em>push</em>, <em>pull_reques</em>t, etc. It can also be an array of events like this.</p><pre><em># Use an array when using more than one event</em><br>on: [push, pull_request] </pre><p>In our case, we are simply saying trigger this workflow on every push</p><p><strong>jobs:</strong></p><p>Here we are specifying the job we want to run, in this case, we are setting up a build job.</p><p><strong>runs-on: ubuntu-latest</strong></p><p>The <strong>runs-on</strong> is specifying the <strong>OS</strong> you want your workflow to run on and we are using the latest version of ubuntu</p><p><strong>Steps:</strong></p><p>Steps just indicate the various steps you want to run on that job</p><p><strong>uses: actions/checkout@v1</strong></p><p>Github has some already define Actions, we are using version 1 of the checkout action this is responsible for cloning the repo and checking into our project directory.</p><p>The other steps just show how to run one or more commands in the shell. the default shell is bash.</p><p><strong>Let&#39;s test our workflow</strong></p><p>Run the commands below to push your code to GitHub</p><pre>git add .<br>git commit -m &quot;Add workflow file&quot;<br>git push origin -u master</pre><p>Click on the Actions tab to view your pipeline</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WVXFez53Sm7iAuOo9i6p7Q.png" /></figure><h3>Create an app on Heroku</h3><p>The next is for us to create a new app on Heroku, this is where our pipeline will deploy our project to.</p><p>To do this, we are going to use Heroku CLI, make sure you have created an account with Heroku and have installed Heroku CLI this tutorial does not cover how to do that.</p><p>Run the command below in your terminal to create an app on Heroku</p><pre>heroku create github-ci --buildpack mars/create-react-app</pre><p>From the above command, will are telling Heroku to create an app with the name <strong>github-ci</strong> and add the create-react-app buildpack</p><blockquote>“ Heroku <a href="https://www.heroku.com/elements/buildpacks">Buildpacks</a> are sets of open source scripts that are used for compiling apps on Heroku. They form the backbone of Heroku’s <a href="https://www.heroku.com/languages">polyglot platform</a>.”</blockquote><p>let&#39;s make our first deployment to Heroku</p><pre>git push heroku master</pre><p>Ensure that the deployment was successful.</p><p><strong>Let&#39;s continue working on our pipeline</strong></p><p>Replace the <strong>no: [push]</strong> section with the snippet below</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/dd42a6b1c0e74f3efe64ac0b1599fe6a/href">https://medium.com/media/dd42a6b1c0e74f3efe64ac0b1599fe6a/href</a></iframe><p>From the snippet above, we are saying that the workflow (pipeline) should be triggered only when we push to <strong>master branch (</strong>you can trigger the workflow on any branch<strong>).</strong></p><p>Replace the job section with the snippet below</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/33aa0057a5ee2c300b4c6d48cd5a07e3/href">https://medium.com/media/33aa0057a5ee2c300b4c6d48cd5a07e3/href</a></iframe><p>We added a new section call strategy and under that, we have matrix accompanied with the node versions. What that section is simply doing is telling our workflow to run our build on two versions of node, <strong>v10 </strong>and <strong>v8.</strong></p><p>Next, replace the <strong>steps section</strong> with the snippet below</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c8abc967fbc822f8abd51602f4fda3e3/href">https://medium.com/media/c8abc967fbc822f8abd51602f4fda3e3/href</a></iframe><p>Here we added the setup-node@v1 actions, this is responsible for installing the specified version of node in our CI environment since we are using the matrix strategy, this will spin up two environments for node version 10 and 8 respectively.</p><p>Now let&#39;s add the different steps that will run in our CI</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b841ede1ebd7d51951f4e4591e4c8453/href">https://medium.com/media/b841ede1ebd7d51951f4e4591e4c8453/href</a></iframe><p>As you can see, this is just running yarn install, yarn test and yarn build.</p><p>Since create react app test run in interactive mode, we are setting CI to true to make it run in a non-interactive mode.</p><p>By now your pipeline should look like this</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bd348dac68d5eebd89e49c0e3f6a913f/href">https://medium.com/media/bd348dac68d5eebd89e49c0e3f6a913f/href</a></iframe><p><strong>Add environment variables</strong></p><p>Add <strong>Heroku API ke</strong>y and <strong>Heroku app name</strong></p><ul><li>Goto your Heroku dashboard and click on <a href="https://dashboard.heroku.com/account">account settings</a> locate your API key and copy it.</li><li>Goto settings tab on your GitHub repository and click on secrets and add you Heroku api key, also do the same for your app name (In our case, our app name when we created the app on Herokus is<strong> github-ci)</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ArbjfU2Cxk6E8mfoF8IzSA.png" /></figure><p>our secrets are HEROK_API_kEY and HEROKU_APP_NAME</p><p>to access these variables in our pipeline we have to use the format below</p><pre>${{ secrets.HEROKU_API_KEY }}<br>${{ secrets.HEROKU_APP_NAME }}</pre><p><strong>Deploy to Heroku</strong></p><p>Add the snippet below to deploy your code to Heroku</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/13bb066c1e1b69004c288e0c07e2cf4b/href">https://medium.com/media/13bb066c1e1b69004c288e0c07e2cf4b/href</a></iframe><p>The section is responsible for deploying the code to Heroku.</p><p>The complete pipeline should look like this</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/268c6e3bf99dadf58d1af862ead2a9e7/href">https://medium.com/media/268c6e3bf99dadf58d1af862ead2a9e7/href</a></iframe><p>commit your code and push to master, yes you are the boss, push to master.</p><p>Your pipeline should start running your build.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SWYT9wSbiRT9v0n8dbydfQ.png" /></figure><p>There you have it, a CI/CD pipeline on Github.</p><p><strong>Add a badge to your readme (Bonus)</strong></p><p>If you want to add a badge to show the status of your build use the format below</p><p>![](<a href="https://github.com/ekpangmichael/test-github-ci-react/workflows/Node-CI/badge.svg">https://github.com/&lt;Github username&gt;/&lt;repo name&gt;/workflows/&lt;workflow name&gt;/badge.svg</a>)</p><pre>![](<a href="https://github.com/ekpangmichael/test-github-ci-react/workflows/Node-CI/badge.svg">https://github.com/ekpangmichael/github-ci/workflows/CI/badge.svg</a>)</pre><p>If you find this article useful please clap and share your comments below. Gracias</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b65bb248edfe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a WhatsApp bot in 10 minutes using Node.js and Twilio]]></title>
            <link>https://medium.com/the-andela-way/build-a-whatsapp-bot-in-10-minutes-using-node-js-and-twilio-9869b443bf5e?source=rss-b6db12d7a726------2</link>
            <guid isPermaLink="false">https://medium.com/p/9869b443bf5e</guid>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[andela]]></category>
            <category><![CDATA[whatsapp]]></category>
            <dc:creator><![CDATA[Michael Ekpang]]></dc:creator>
            <pubDate>Mon, 09 Sep 2019 12:12:42 GMT</pubDate>
            <atom:updated>2019-09-09T12:12:42.996Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ujtykSpfT5_KC00ZjAs6Dg.jpeg" /><figcaption>Image credit: Unplash.com</figcaption></figure><p>WhatsApp helps over 1.5 billion users keep in touch with their friends and close ones, Businesses can leverage that to reach many users most naturally via chatting. In this tutorial, we are going to create a WhatsApp bot using Node.js and Twilio API.</p><p>The bot will make use of Google search API such that we can search for anything on Google directly on WhatsApp.</p><h3>Let’s get started</h3><p>The first step is to create our custom Google search engine.</p><blockquote>The Custom Search JSON API requires the use of an API key, so let’s get our key.<a href="https://developers.google.com/custom-search/v1/overview"> Click here</a></blockquote><ul><li>Click on <strong>GET A KEY </strong>— create your project and copy your <strong>API key </strong>because you will need it later</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CBF39UhSaUbvMqFygpbDYA.png" /></figure><blockquote>The next step is to setup your custom search engine <a href="https://cse.google.com/cse/all">Click here</a></blockquote><ul><li>Click on add</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cr9TXnuc_yOPM_NYnXPaEw.png" /></figure><ul><li>Enter the website you want to search and a name for it and click on create</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ND1Gy_YZYklWRQkt6vXCOQ.png" /></figure><ul><li>Click on the control panel</li><li>Note the <strong>Search engine ID, </strong>you will need it later</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ihy5m8rfdQRfuIJaMBbtlg.png" /></figure><p>Switch the ‘<strong>search the entire web</strong>’ button to <strong>on, </strong>This will make your search more in-depth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*634zdBbzqGfoNhhIenOfrQ.png" /></figure><h4>Setting up Twilio sandbox environment</h4><blockquote>The next step is to setup a sandbox environment on Twilio, follow the steps below.</blockquote><ul><li>Create a <a href="https://www.twilio.com/">Twilio account</a> if you don’t already have one</li><li>After creating and verifying your account, log into your account and click on console on the navbar</li><li>Click on create a new project, select<strong> products &gt; Programmable SMS </strong>and click on continue.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QXl68S8XxIbiE_D6xAmrNA.png" /></figure><ul><li>Take note of your <strong>ACCOUNT SID</strong> and <strong>AUTH TOKEN</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QlDHWX0w3evsSawVNVg7LQ.png" /></figure><blockquote>The final step is to setup your WhatsApp Sandbox environment.<a href="https://www.twilio.com/console/sms/whatsapp/sandbox"> <strong>Click here</strong></a></blockquote><ul><li>Connect to your sandbox by sending a <strong>WhatsApp message </strong>to the Twilio number on the page.</li></ul><p><strong>Trust me this was the hardest part, now let’s get down to business.</strong></p><p>Let&#39;s create a directory for our project.</p><p>On your terminal run mkdir whatsapp-bot or create a directory manually for the project.</p><p>Create a <strong>.env</strong> file inside your project directory and put the following:</p><ul><li>ACCOUNT SID and AUTH TOKEN from Twilio</li><li>Add your Google API key</li><li>Your <strong>Search engine ID</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*ZgWZ9wd3slrt80J1lxTgDw.png" /><figcaption>.env file</figcaption></figure><p>Create your <strong>package.json</strong> with the following dependencies</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/22ff7f48aad7d910f34889a0d2b326b1/href">https://medium.com/media/22ff7f48aad7d910f34889a0d2b326b1/href</a></iframe><p>create a .babelrc file and add this code.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/dd63bda0b493327151eac7131a6ebf51/href">https://medium.com/media/dd63bda0b493327151eac7131a6ebf51/href</a></iframe><p><em>Run</em><em> npm install to install all your dependencies</em></p><p>Copy and paste this code inside <strong>server/server.js </strong>file</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8fb454664f1f8c5d814e6105fc48602d/href">https://medium.com/media/8fb454664f1f8c5d814e6105fc48602d/href</a></iframe><p>Here we are just creating an express server that runs on port 3000.</p><p>Your folder structure should look something like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/326/1*gEBlnp0IFl8kng0a9MAuHg.png" /></figure><p><strong><em>Run </em></strong><em>npm start</em> to start the server, your app should start running on port 3000</p><blockquote>Next let’s <a href="https://ngrok.com/download">download ngrok</a>. We need ngrok to make our local server publicly accessible on the internet.</blockquote><ul><li>Unzip ngrok inside your directory</li><li><strong><em>Run</em></strong><strong><em> </em></strong><em>./ngrok http 3000</em> on another terminal</li></ul><p>You should see ngrok started with status online.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NTuxGdxmaehJxJHXcPR8LA.png" /></figure><ul><li>Copy the new ngrok server URL, Let’s go back to the <a href="https://www.twilio.com/console/sms/whatsapp/sandbox">WhatsApp Sandbox</a>, and add it as our webhook URL.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xj0H-Uq4MrZZosVDnLD_zg.png" /></figure><p>Note the <strong>api/v1/incoming</strong> that is how our route will be structured</p><blockquote>Next, create a WhatsappBot.js file inside the controllers folder</blockquote><p>Your folder structure should be like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/338/1*-83_nnysynt5HjN1vEShEw.png" /></figure><p>Next, let’s import the Google API and Twilio libraries into our WhatsappBot.js</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a859fa46d698ed994947dfda976e10a9/href">https://medium.com/media/a859fa46d698ed994947dfda976e10a9/href</a></iframe><p>Let’s load our environment variables and also initial our Twilio account by passing in our account id and auth token.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7a419ef4af3feb8fb102d3087a9c4f58/href">https://medium.com/media/7a419ef4af3feb8fb102d3087a9c4f58/href</a></iframe><p>From the image below, we initialize the <strong>MessgingResponse</strong> object, we get the query the user is sending from <strong>req.body.Body, </strong>call the Google customsearch method and passing it our options parameter.</p><p>Then, get the first content from the search result and send back to the user.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/aef89abb616bb63cd3f83c239bc2e21b/href">https://medium.com/media/aef89abb616bb63cd3f83c239bc2e21b/href</a></iframe><p>See the complete code below</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6ec4c78d17461282cc86157cc79618e9/href">https://medium.com/media/6ec4c78d17461282cc86157cc79618e9/href</a></iframe><p><strong>Setup the route</strong></p><ul><li>Create search.js file inside the route folder</li></ul><p>Here we import the WhatsAppbot controller and set our post route</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/87a270cdc749619aa22a2ec5cad67787/href">https://medium.com/media/87a270cdc749619aa22a2ec5cad67787/href</a></iframe><ul><li>Create an index.js inside the route folder and import your search route</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b1c31f7efc0a5a4a8955624e83ad4e7a/href">https://medium.com/media/b1c31f7efc0a5a4a8955624e83ad4e7a/href</a></iframe><p>Restart your server and try sending a message via WhatsApp to your endpoint.</p><p>If everything goes well you should get a response back</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*8hDeo3-GLMQJtps_3OyX0A.jpeg" /></figure><p>Congratulation you have just created your first WhatsApp bot, go ahead and explore.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9869b443bf5e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-andela-way/build-a-whatsapp-bot-in-10-minutes-using-node-js-and-twilio-9869b443bf5e">Build a WhatsApp bot in 10 minutes using Node.js and Twilio</a> was originally published in <a href="https://medium.com/the-andela-way">The Andela Way</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configuration & Change Management]]></title>
            <link>https://medium.com/@michaelekpang/configuration-change-management-c26a4809242d?source=rss-b6db12d7a726------2</link>
            <guid isPermaLink="false">https://medium.com/p/c26a4809242d</guid>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Michael Ekpang]]></dc:creator>
            <pubDate>Tue, 25 Jun 2019 22:25:35 GMT</pubDate>
            <atom:updated>2019-06-25T22:25:35.556Z</atom:updated>
            <content:encoded><![CDATA[<p>Configuration management documents how changes will be monitored and controlled, it also involves all the steps necessary to keep track of your changes in the system.</p><p>Configuration management also ensures that each stage of the system life cycle is properly documented.</p><blockquote>It is a process of defining configurable items (product, service, result,component) and controlling changes to such items. It can be considered as a version control system for the product. — projectcubicle.com.</blockquote><h4>Change Management</h4><p>Change management focuses on how the changes should be handled, evaluated, documented and managed throughout the life cycle of the project.</p><h3>Benefits of Configuration and Change Management for Servers</h3><p>One of the primary benefits of configuration management is the consistency of the system and software.</p><p><strong>Automation</strong></p><p>The core of DevOps is automation, configuration management helps to improve efficiency by replacing manual configuration processes, it also makes it possible to manage lager infrastructures with fewer resources.</p><p><strong>Reliability</strong></p><p>Configuration and change management helps to improve the reliability of the system, it creates a system that is stable and efficient</p><p><strong>Cost Reduction and Risks</strong></p><p>Due to the organized system, proper management, and record keeping, configuration management leads to a reduction in cost and risk. It helps to mitigate against spending money on recurring issues.</p><p><strong>Organization</strong></p><p>Having an organized configuration management system will enable all stakeholders (IT, Ops, Devs), to see all of the past system implementations of the business, and can better address future needs and changes to keep the system up to date and running.</p><h3>Tools for Configuration Management</h3><p><strong>Below are some configuration tools</strong></p><p>1) CFEngine</p><p>2) Puppet</p><p>3) CHEF</p><p>4) Ansible</p><p>5) SALTSTACK</p><p>6) JUJU</p><p>7) RUDDER.</p><p>8) Bamboo</p><h3>Things to consider when choosing a configuration management tool</h3><h4>Understanding the operating environment</h4><p>You need to know the environment your organization is working with and, if the intended purpose of automation is to support your Continuous Integration/Deployment/Delivery (CI/CD) pipeline, you must ensure that the tool integrates with them.</p><h3>Pick the Tool That’s Right for You</h3><p>The next step is to choose the right tool for the job, consider the tool that is suitable for the job and offers more flexibility</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c26a4809242d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adaptability is the simple secret of survival]]></title>
            <link>https://medium.com/@michaelekpang/adaptability-is-the-simple-secret-of-survival-c5a83b6f21f7?source=rss-b6db12d7a726------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5a83b6f21f7</guid>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[andela]]></category>
            <category><![CDATA[andela-bootcamp]]></category>
            <category><![CDATA[andela-bootcamp-nigeria]]></category>
            <dc:creator><![CDATA[Michael Ekpang]]></dc:creator>
            <pubDate>Tue, 02 Oct 2018 15:37:37 GMT</pubDate>
            <atom:updated>2018-10-02T23:43:36.546Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/565/1*QRkwAMPMAfTozoTFotP2IQ.jpeg" /><figcaption>Photo credit: seet.com</figcaption></figure><p>Bootcamp has been both a rewarding and challenging experience and adaptability is the key to survival.</p><p>Before now, I never knew the importance of writing test or user story, I never understood why you should even do that, I thought if the code works then it works, but now I know better, everything made more sense.</p><p>I wasn’t used to waking up early or sleeping for just 3 hours, but these days, it has become a part of me. The challenges have made me adapt to having very few hours of sleep, some days, I almost had to work all through the night. I need to study and implement what I have learned as fast as possible. Once, I heard my roommate saying <em>“Mike, you want to kill yourself”. If </em>only he knows.</p><p>Every day came with its own challenges, I have had to learn and use different tools, some I never heard of. Tools such as <strong>Travis CI</strong> for build automation, <strong>Pivotal Tracker</strong> for project management. Testing tools such as <strong>Mocha</strong> and <strong>Chai</strong> etc. The ability to learn and figure them out as fast as possible is the key and with the help of my LFA and colleagues, I was able to scale through. This experience has inspired me to have a growth mindset. I now embrace those challenges and see them as an opportunity to grow.</p><p>The next few days are going to be more challenging, we are still working on some difficult concept, so many sleeplessly night awaits, but I’m now ready for the challenges ahead, I&#39;m never giving up on my dreams, if this is what it takes to get the crown, I’m ready to embrace it with a positive mindset.</p><p>Technology is changing rapidly and to stay relevant, one has to learn how to adapt. This is what Bootcamp has taught me and I will be forever grateful to Andela for the opportunity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5a83b6f21f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You will undergo painful sharpening — the pencil maker told the pencil]]></title>
            <link>https://medium.com/@michaelekpang/you-will-undergo-painful-sharpening-the-pencil-maker-told-the-person-d9102c79111d?source=rss-b6db12d7a726------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9102c79111d</guid>
            <category><![CDATA[andela-bootcamp-nigeria]]></category>
            <category><![CDATA[andela-bootcamp]]></category>
            <category><![CDATA[andela]]></category>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[Michael Ekpang]]></dc:creator>
            <pubDate>Thu, 27 Sep 2018 13:24:26 GMT</pubDate>
            <atom:updated>2018-10-08T15:14:29.139Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*EJL9dKw95EttEGORN6vxNw.jpeg" /><figcaption>Photo credit: shutterstock</figcaption></figure><p>My Bootcamp experience so far has been priceless, I always knew that something was missing in the university’s education system, Andela figured it out.</p><p>Bootcamp has been a rewarding experience, it is one of the best methods of imparting knowledge, you go from knowing very little in software development to a mid-level developer in one week. It has taught me that, it is not all about writing codes, attention to details matters, getting feedback and acting on them is as important as writing better codes.</p><p>Feedback is the bedrock upon which we create a better product and my LFA <strong>Idris Adetunmbi </strong>has been very supportive, even in his tight schedule he always gives a listening ear and provides assistance when necessary, his excellent way of giving feedback is off-the-chart. It makes you feel better afterward.</p><p>The learning process has been challenging and rewarding, every day comes with its own challenges, some stubborn bugs will just not go no matter how hard you try. I have had very few hours of sleep these days but then, I understand that to become better I must undergo <strong>painful sharpening</strong>.</p><p>On a closing note, Andela’s Bootcamp is one of the best things that has happened to me this year, no matter what happens I’d be proud of how far I have come. I will suggest every system of education adopt this approach, it’s focus and efficient, for the past days I have met very amazing Nigerians, people who are ready to undergo <strong>painful sharpening</strong> to become better software developers. Whoever said Nigerian youths are lazy?.</p><p><em>…to be continued</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9102c79111d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Travis CI, An excellent tool for continues integration]]></title>
            <link>https://medium.com/@michaelekpang/travis-ci-an-excellent-tool-for-continues-integration-28383beafc15?source=rss-b6db12d7a726------2</link>
            <guid isPermaLink="false">https://medium.com/p/28383beafc15</guid>
            <category><![CDATA[andela-bootcamp-nigeria]]></category>
            <category><![CDATA[andela-bootcamp]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[andela]]></category>
            <dc:creator><![CDATA[Michael Ekpang]]></dc:creator>
            <pubDate>Wed, 26 Sep 2018 16:07:42 GMT</pubDate>
            <atom:updated>2018-10-08T15:11:11.993Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*BaXihAPvy6VKI4lIOtFhoA.jpeg" /><figcaption>Source GitHub.com</figcaption></figure><p>An interesting tool/technology I encountered in preparation for Bootcamp is <strong>Travis ci</strong></p><blockquote><strong>Travis CI</strong> is a hosted, distributed <a href="https://en.wikipedia.org/wiki/Continuous_integration">continuous integration</a> service used to build and test software projects hosted at <a href="https://en.wikipedia.org/wiki/GitHub">GitHub</a>— wikipedia.</blockquote><p>It is basically a tool that helps you deploy software with confidence. It is like a middleman that protects you from breaking your code. To get the best of Travis, you have to tell it exactly what to do. A configuration file called .<strong>travis.yml </strong>can be used to instruct Travis on tasks to carry out.</p><h4><strong>The following are some of the benefits of using Travis CI</strong></h4><h4>Running Automated Test</h4><p>Each time Travis detect a new commit or pull request, it initializes a build process that runs all your test (if instructed ) and if something is broken it terminates the build and notifies you of the progress with a log as to why your build failed, this process saves you ample time of manually going through your code for errors so that you can focus more on development and helps you identify bugs before shipping your code to production.</p><h4><strong>Auto Deployment and Compatibility Testing</strong></h4><p>Another benefit of using Travis is compatibility testing and auto deployment. Travis can run your build on different machines at the same time, this is very critical because it gives you an idea on the compatibility of your software with other versions of the platform you are building for. you get to know if your code is going to break on a particular platform or version. Travis can also build your code for production and deploy when necessary.</p><h4><strong>Integrating With Other Services</strong></h4><p>Travis can integrate very well with other tools such as code analyzer, you can instruct Travis to send your build data to another service for analyzing. services such as <strong>code climate</strong> and<strong> coveralls</strong> can be easily integrated with Travis which can give you a more in-depth analysis of your codebase and helps you write better software.</p><h4>Conclusion</h4><p>In this era of TDD (Test Driven Development ) and CI (Continues integration), Travis CI is an indispensable tool to have in your workflow to improve overall productivity. When you have Travis you can commit your code, then go take a cup of tea. Travis will take it from there and notify when it&#39;s done, I tell you solemnly, nothing can be compared to the joy you get when you first see that green line saying “<strong><em>Build passed</em></strong>”.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28383beafc15" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[11 players 1 heartbeat — the ultimate C in Andela’s EPIC values]]></title>
            <link>https://medium.com/@michaelekpang/11-players-1-heartbeat-the-ultimate-c-in-andelas-epic-values-d049802b1b26?source=rss-b6db12d7a726------2</link>
            <guid isPermaLink="false">https://medium.com/p/d049802b1b26</guid>
            <category><![CDATA[epic]]></category>
            <category><![CDATA[andela-bootcamp-nigeria]]></category>
            <category><![CDATA[andela]]></category>
            <category><![CDATA[andela-bootcamp]]></category>
            <dc:creator><![CDATA[Michael Ekpang]]></dc:creator>
            <pubDate>Tue, 25 Sep 2018 19:53:33 GMT</pubDate>
            <atom:updated>2018-10-08T15:22:18.719Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>EPIC</strong> the foundation upon which an Andelean is born.</p><p>As I ponder upon the acronym I can’t help but wonder the power behind this simple yet powerful word <strong>EPIC</strong>. Every aspect of it comes together to form an outstanding individual. It brings out the true nature of what God has intended for humanity.</p><p>This few days, Andela has thought me what the university couldn’t teach me in 5 years. EPIC is a framework of self-discovery, you get that feeling of being re-born.</p><p>Let me take you through the EPIC journey.</p><h3>E — Excellence</h3><p>The first letter in the acronymic is <strong>E</strong> which stands for <strong>excellence</strong>. At Andela I am completely seeing a different model of excellence not just in word but in action, Every Andelean I met exude excellence, you would think they were all created with the same mind. It has thought me to be outstanding in everything I do. I have come to understand that excellence is not perfection but having a growth mindset, learning from your mistakes and constantly seeking out better ways to improve upon yourself. Here, everything has a touch of excellence little wonder it was rated the <a href="https://www.jobberman.com/blog/best-100-companies-to-work-for-nigeria-2018/"><strong>best place to work in Nigeria.</strong></a></p><h3><strong>P - Passion</strong></h3><p>The second letter is <strong>P</strong> which stands for <strong>passion</strong></p><p>I can’t overemphasize the importance of passion, software development is not for the faint-hearted, without the passion you’d feel miserable.</p><p>At Andela, passion is very important as every day comes with its own challenges and you need passion to navigate the ropes when the going gets tough. These few days I have done things I never thought I could do, I now realize how far you can go when passion meets the right motivation and Andeleans are very passionate people and that spirit is almost contagious, they are always ready to assist you when you need help and as someone said:</p><blockquote>“is like having the whole members of stack overflow”</blockquote><p>but in this case Face to Face, My LFA<strong> Idris Adetunmbi</strong> has been very supportive even in his tight schedule he still finds time to attend to my endless questions, Everyone is eager to learn, the thirst for knowledge here is just insatiable. All these have encouraged me to have a growth mindset and to understand that passion is what I need to withstand the challenges ahead.</p><h3>I — Integrity</h3><p>Integrity is among the most held value for an Andelean, In a country like Nigeria where integrity has become a rare word, Andela is changing the narrative, Here plagiarism is not an option, instead, we are encouraged to make research, ask questions and seek feedback, we advance only by merit. Integrity is what differentiates an Andela developer from the crowd, things I never thought matter now means a lot to me, these days even when I get a picture from the internet I have learned to give credit to the source.</p><p>This has thought me that to advance I must do so by merit, and I’m always responsible for my actions.</p><h3>C- Collaboration</h3><p>The last Letter is the ultimate <strong>C,</strong> one which has helped me a lot, I’m now familiar with tools such as Github, slack, Pivotal tracker etc. each of these has made me realize how important collaboration is, now I understand that amazing software is made through effective collaboration, and the exchange of knowledge has helped unblock so many setbacks. Indeed two heads are surely better than one.</p><h3>Conclusion</h3><p>Andela’s <strong>EPIC</strong> values have taught me how to become a better person, how to advance only on merit, seek feedback and collaborate effectively. All these are priceless values and I’m forever grateful for this opportunity. Whether you are an Andelean or not I suggest you put this framework into practice and watch how far you go.</p><p><strong><em>The framework is truly EPIC!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d049802b1b26" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I made it to heaven — my Andela’s pre-Bootcamp experience]]></title>
            <link>https://medium.com/@michaelekpang/how-i-made-it-to-heaven-my-andela-pre-bootcamp-experience-fa4bf32f1a92?source=rss-b6db12d7a726------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa4bf32f1a92</guid>
            <category><![CDATA[andela-bootcamp-experienc]]></category>
            <category><![CDATA[andela-bootcamp-nigeria]]></category>
            <category><![CDATA[andela-bootcamp-nairobi]]></category>
            <category><![CDATA[andela-bootcamp]]></category>
            <category><![CDATA[andela]]></category>
            <dc:creator><![CDATA[Michael Ekpang]]></dc:creator>
            <pubDate>Mon, 24 Sep 2018 16:44:01 GMT</pubDate>
            <atom:updated>2018-10-08T15:24:52.491Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*ZIAW1Im_-6Ps3MjVi1pwrA.jpeg" /><figcaption>Photo credit redhut.net</figcaption></figure><p>My name is Ekpang Michael and <em>I’m not a lazy Nigerian youth. </em>Okay, that was just an intro.</p><p>Yes i’m not yet in heaven but I’m pretty close, let’s just say I’m in <a href="https://en.wikipedia.org/wiki/Purgatory">purgatory</a>, you might be wondering why heaven, well when you are passionate about software development and you come across an opportunity like Andela Fellow, an opportunity where you get to be trained by world-class developers and possible become one, I don&#39;t know what best to describe that if not “heaven”.</p><p>For me getting into Andela is like a Christian finally getting into heaven.</p><p>Let me tell you my story, I was among the lucky ones that made it through the almighty Andela technical test and got an invite for the Bootcamp, that was one of the happiest days of my life, but little did i know that what lies ahead was like a scary movie, one which I still don&#39;t know the end.</p><p>It all started when I got the first challenge (<strong>Fast</strong>-food-<strong>fast</strong>) notice the <strong><em>fast</em></strong>, I think it was intentional because you have to learn and build as fast as possible within the shortest time frame.</p><p>I was immediately pressed by the time I finished reading the project requirement like literally, I had to use the toilet. Even though I was already family with programming, it was still very scary because i needed to use tools I never used before, like travis ci, pivotal tracker, writing test and integration code coverage. This were things I saw in movies or tech talk ( I felt those guy had superpowers).</p><p>Every task brought along its own challenges, I thought I knew how to use git until I was faced with creating branches, merging, pull request, integrating TDD (test driven development) with travis ci and following best practices.</p><p>I had to unlearn all the crap I thought I knew and started afresh, I read all the medium post I could find, watched YouTube videos, practice! practice!! and practice!!! I can’t overemphasize that. It was one of the toughest weeks of my life but my passion to become a world-class developer kept me through and through, I have so many sleepless nights, but I said to myself Michael you have to make me proud if others can do this then you can too.</p><p>My story will not be complete without mentioning Tomi Adebanjo, Tomi is one of those geniuses that just made it through to heaven(Andela), I reach out to Tomi through a friend Osifo (great guy, also works at Andela). Adebanjo was a God sent even with his tight schedule he still made out time to respond to my chat and provided feedback when necessary I will be forever grateful to him.</p><p>In summary, I was able to scale through the first 2 challenges because I was willing to learn and unlearn, reach out for help when necessary, sacrificed so many nights and some I think it was just divine intervention. I also learn to celebrate every little win to keep me motivated. I went from not knowing how to write test to getting a 100% code coverage (I took myself out that day).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*0BfCyqrdj2NYK7jm1_GPwQ.png" /></figure><p>So here I’m in purgatory where only the best of the best are selected to enter heaven, all I can do now is to keep learning, keep breaking and fixing and finally hoping for the best.</p><p><strong><em>All I can say is …This Heavenly Race I no go tire.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa4bf32f1a92" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Dropdown of state and LGA in Nigeria. A simple javaScript plugin]]></title>
            <link>https://medium.com/@michaelekpang/a-dropdown-of-state-and-lga-in-nigeria-a-simple-javascript-plugin-7c6b0b150134?source=rss-b6db12d7a726------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c6b0b150134</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[html]]></category>
            <dc:creator><![CDATA[Michael Ekpang]]></dc:creator>
            <pubDate>Fri, 18 May 2018 20:57:49 GMT</pubDate>
            <atom:updated>2018-09-17T11:52:32.284Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*B4RJlzp6Jlfq85o35w-7ow.png" /></figure><p>Okay how do I say this?. Well this is my first post on medium…yh it is. So permit me to finally welcome myself on-board. My name is Ekpang Michael, I literally live on the internet, my laptop is my pet and like Bill Gate</p><blockquote>“it’s hard to tear myself away from a machine at which I could so unambiguously demonstrate success.”<a href="https://en.wikipedia.org/wiki/Bill_Gates#cite_note-FOOTNOTEGates199612-30">[</a>.</blockquote><p>Okay enough of the chit-chat, back to what brought me here, so I was working on a project and needed to display a dropdown of LGA’s in Nigeria based on the State selected by the user, I couldn’t see myself typing all that out, so as every normal programmer, i went online to see if I could get any pre-made solution to make my work easier, but after a few googling It was as if I was spending more time searching for it than it would actually take me to put it together</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*JMg_E1KUAbJn58dKeG4v-g.gif" /><figcaption>Searching endlessly</figcaption></figure><p>I decided to hack something together pretty quick</p><h3>The “Doings”</h3><p>I got me the list of all the states and local government areas in Nigeria. My friend Wikipedia was really helpful.</p><p>I created an array of all the local government areas in Nigeria, then using the onChange() method, i get the selected state from the user and used a switch statement to populate the LGA select option fields with the corresponding LGA’s.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*4yW14iyVHd8HWcATrm1DBA.png" /><figcaption>An Array of LGA’s</figcaption></figure><p>Yh is a no brainer but this could save someone some good time!.</p><p>The code is all <a href="https://github.com/weezyval/state-LGA-NG">here</a> feel free to use it anytime and day..</p><p><a href="https://github.com/weezyval/state-LGA-NG">weezyval/state-LGA-NG</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c6b0b150134" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>