<?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 Pritam Prasad on Medium]]></title>
        <description><![CDATA[Stories by Pritam Prasad on Medium]]></description>
        <link>https://medium.com/@pritamp?source=rss-3c7ee928cbf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*yzs-YKYvKmnx5WVKEQnbgw.gif</url>
            <title>Stories by Pritam Prasad on Medium</title>
            <link>https://medium.com/@pritamp?source=rss-3c7ee928cbf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 21:48:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pritamp/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[An Online Responsive Resume, $0]]></title>
            <link>https://medium.com/@pritamp/an-online-responsive-resume-0-70f5da88de7f?source=rss-3c7ee928cbf------2</link>
            <guid isPermaLink="false">https://medium.com/p/70f5da88de7f</guid>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[github-pages]]></category>
            <category><![CDATA[resume]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Pritam Prasad]]></dc:creator>
            <pubDate>Tue, 10 Jan 2023 19:31:29 GMT</pubDate>
            <atom:updated>2023-01-10T19:31:29.436Z</atom:updated>
            <content:encoded><![CDATA[<p>Here I explain how you can create an online resume in under 10 minutes by just modifying a private configuration file that you own. The best part, all free of cost.</p><p><strong>What you get?<br></strong>1. An <strong>online</strong>, very-light, link-sharable resume at a public address that you own: e.g. <a href="https://pp-codes.github.io/">https://pp-codes.github.io/</a><br>2. A <strong>Responsive</strong> resume, that’s being adapted to desktop view and mobile view.<br>3. For a <strong>pdf version</strong> just print it using “Save as pdf”. Optimized for single page A4 size.<br>4. Modify the resume content by just modifying a configuration file (YAML file).</p><p><strong>What resources are used?</strong></p><p>The online resume is built using plain react libraries, and thus to build and deploy we use the below components. Don’t be overwhelmed by these requirements, if you are new to GitHub, you just need to follow the steps at <a href="https://github.com/pritamprasd/responsive-cv">parent-repo</a> to set up the flow once. And for every edit, you just need to update the YAML text mentioned in step 3.</p><ol><li>A GitHub repository to store resume code. (This is a forked version of <a href="https://github.com/pritamprasd/responsive-cv">parent-repository</a>)</li><li>A GitHub repository to publish static resume output(actual static content of resume). [Github Pages, used to publish resume to public web link]</li><li><strong>A GitHub Gist to store resume content. (</strong>Your actual resume text<strong>)</strong></li><li>A GitHub Actions Pipeline, to automate the build and deployment of the resume to GitHub Pages(Point 2).</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*G9oziRmUzkb98jeD7yJOWA.png" /></figure><p><strong>Prerequisite:</strong></p><ol><li>A free GitHub account. Yep, that’s all.</li></ol><p><strong>How to start building?</strong></p><p>The steps are detailed at: <a href="https://github.com/pritamprasd/responsive-cv">https://github.com/pritamprasd/responsive-cv</a></p><ol><li>Fork the <a href="https://github.com/pritamprasd/responsive-cv">parent</a> repository. You can edit the forked repo as you like to update your resume design and layout. It’s a simple single-page react app.</li><li>The content of the resume is pulled from a configuration file, in this case, a secret Gist. So to Update cv content:<br><strong>2.1</strong> <a href="https://docs.github.com/en/get-started/writing-on-github/editing-and-sharing-content-with-gists/creating-gists">Create a GitHub Gist</a> (a secret gist will do) similar to this demo gist: <a href="https://gist.github.com/pritamprasd/95fde56b249662cefda97d303fbfb605">https://gist.github.com/pritamprasd/95fde56b249662cefda97d303fbfb605</a>, and update your actual resume content in the file.<br><strong>2.2</strong> Update the REACT_APP_GIST_ID in .env file of forked-repo(step 1) with the created Gist-ID(in this case <a href="https://gist.github.com/pritamprasd/95fde56b249662cefda97d303fbfb605">95fde56b249662cefda97d303fbfb605</a>). Failing to update this you&#39;ll see resume with demo content.</li><li>Create a new public repository with GitHub username: &lt;your-github-username&gt;.github.io. This is where we&#39;ll host resume in webpage form.<br><strong>3.1</strong> Check Add a Readme file checkbox while creating the repository, this will configure main branch.</li><li><a href="https://docs.github.com/en/enterprise-server@3.4/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token">Create a </a><a href="https://docs.github.com/en/enterprise-server@3.4/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token">Github API Token</a>. [Settings -&gt; Developer settings -&gt; Personal access token -&gt; Tokens(classic) -&gt; Generate New Token (classic) -&gt; provide repo access(checkbox in first line of scopes) -&gt; Generate]</li><li>Add the generated token to the forked repository with name<strong>API_TOKEN_GITHUB</strong>. [ &lt;your-github-username&gt;.github.io repository Settings Tab -&gt; Secrets -&gt; Actions -&gt; Create new secret -&gt; key(API_TOKEN_GITHUB) : value(token-value)].</li><li>Update below variables in forked repo’s workflows/node.js.yml and make a commit:</li></ol><ul><li><em>destination-github-username: &lt;github-username&gt;</em></li><li><em>destination-repository-name: &lt;github-username&gt;.github.io</em></li><li><em>user-email: &lt;email-used-to-create-github-account&gt;</em></li></ul><p>After the commit, an automated build runs[in a few mins], and your resume will be live at https://&lt;your-username&gt;.github.io.</p><p>You can check if you need to explicitly allow the pipeline by clicking the <strong>Actions Tab</strong> at the top of your forked GitHub repository.</p><p>— — —</p><p>Feel free to raise a PR to the <a href="https://github.com/pritamprasd/responsive-cv">parent repository</a> to add your designs/ideas.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70f5da88de7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hugo Site for Github pages — End to End Guide]]></title>
            <link>https://medium.com/@pritamp/hugo-site-for-github-pages-end-to-end-guide-797de62b9892?source=rss-3c7ee928cbf------2</link>
            <guid isPermaLink="false">https://medium.com/p/797de62b9892</guid>
            <category><![CDATA[static-site]]></category>
            <category><![CDATA[portfolio-website]]></category>
            <category><![CDATA[hugo]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Pritam Prasad]]></dc:creator>
            <pubDate>Mon, 18 Mar 2019 17:46:45 GMT</pubDate>
            <atom:updated>2019-03-18T17:46:45.355Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hugo Site for Github pages — End to End Guide</h3><p>This article is a no-bullshit guide to generate a website and host it to GitHub pages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mAmeVqy5JcK-_x-Y" /><figcaption>Photo by <a href="https://unsplash.com/@igormiske?utm_source=medium&amp;utm_medium=referral">Igor Miske</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Recently, I was amazed by the simplified way to generate websites with <a href="https://gohugo.io/">Hugo</a>, and its good collection of open-sourced theme. And so, I followed tons of tutorials, some of which very elegantly explained the process to generate a site with Hugo, and some explained how to host deploy them on GitHub pages. But I felt there wasn’t a simplified end to end guide available for beginners or who do not have much knowledge of front end site development. That’s why I created this guide, as a concise guide to the whole process in one place.</p><p>Please note, here I won’t go in detail of how to generate sites with Hugo or how to use Github for development. Rather I will show steps that take a simplistic approach, to create and host site.</p><p>You’ll need:</p><ol><li>A Github account.</li><li>A Text editor</li><li>Hugo CLI [<a href="https://gohugo.io/getting-started/installing/">help</a>]</li><li>Git-CLI [<a href="https://git-scm.com/book/en/v2/Getting-Started-Installing-Git">help</a>]</li></ol><blockquote>In this example we’ll generate a portfolio Hugo site with theme <a href="https://themes.gohugo.io/hugo-coder/"><strong>hugo-coder</strong></a>, and deploy it to GitHub.</blockquote><blockquote><strong>Please replace all occurrences of &lt;USERNAME&gt; with your GitHub username in below steps:</strong></blockquote><p><strong>Step 1: Generate a sample Hugo site with the below command:</strong></p><pre>hugo new site portfolio </pre><p>Change directory to generated site content:</p><pre>cd portfolio </pre><p>Initialize empty git repository here, we need this as we’re going to add Hugo themes to the generated site:</p><pre>git init</pre><p><strong>Step 2: Add hugo-coder theme:</strong></p><pre>git submodule add <a href="https://github.com/luizdepra/hugo-coder.git">https://github.com/luizdepra/hugo-coder.git</a> themes/hugo-coder</pre><p>This will add the hugo-coder theme to your generated site. Now edit the <strong><em>config.toml</em></strong> (inside portfolio folder) file to add the template configurations from <a href="https://github.com/luizdepra/hugo-coder/wiki/Configurations#complete-example">here</a>.</p><p><strong>Step 3: Edit Configurations</strong></p><p>Now as you’ll see config.toml contains some basic configurations of <strong>hugo-coder</strong> theme, edit the values inside config.toml to personalized to your need. Below you can have a look at a sample config file modifications:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TALk2JN0LJmAYSW9sAUtJA.png" /></figure><p><strong>Step 4: Create Github Repository:</strong></p><p>Create a repository named: <strong>&lt;USERNAME&gt;.github.io</strong> in Github. <br>[Replace &lt;USERNAME&gt; with your github username].</p><p>Check this article for <a href="https://pages.github.com/">help</a>.</p><p><strong>Step 5: Clone &lt;USERNAME&gt;.github.io:</strong></p><p>Make sure you’re inside portfolio directory and clone the repository just created:</p><pre>git clone <a href="https://github.com/pritamprasd/pritamprasd.github.io.git">https://github.com/&lt;USERNAME&gt;/&lt;USERNAME&gt;.github.io.git</a> </pre><p>This will create a folder named “<strong>&lt;USERNAME&gt;.github.io</strong>” inside portfolio directory. <br>Rename “<strong>&lt;USERNAME&gt;.github.io</strong>” folder to “<strong>public</strong>”.</p><p><strong>Step 6: Generate static content:<br></strong>From the portfolio folder generate the static site content with:</p><pre>hugo -t hugo-coder</pre><p>This will generate static resources for your site inside the public folder.</p><p><strong>Step 7: Commit and Push Your Changes:</strong><br>Change directory to <strong>‘public’</strong>:</p><pre>cd public </pre><p>Commit your changes:</p><pre>git commit -m “Portfolio site initial version” </pre><p>Push changes to <a href="https://github.com/pritamprasd/pritamprasd.github.io.git"><strong><em>&lt;USERNAME&gt;.github.io</em></strong></a> repository:</p><pre>git push</pre><p>And that’ll all, if everything went well you can visit <strong><em>https://&lt;USERNAME&gt;.github.io</em></strong> and check your published site.</p><p>Furthermore, whenever you need to update this site, <br>- Add your changes inside the portfolio folder<br>- use <strong><em>hugo -t hugo-coder</em></strong> to regenerate static content<br>- cd to the <strong><em>public </em></strong>folder<br>- commit and push your changes: using <strong>git commit</strong> and <strong>git push</strong></p><p>Enjoy!!!!</p><p>Please feel free comment on your views/criticism on this guide.</p><p>Always open to suggestion to improve this guide.</p><h3>References:</h3><blockquote>- Hugo Site tutorial: <a href="https://gohugo.io/getting-started/quick-start/">https://gohugo.io/getting-started/quick-start/</a></blockquote><blockquote>- Host hugo site on github: <a href="https://gohugo.io/hosting-and-deployment/hosting-on-github/">https://gohugo.io/hosting-and-deployment/hosting-on-github/</a></blockquote><blockquote>- Github Pages: <a href="https://pages.github.com/">https://pages.github.com/</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=797de62b9892" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>