DOHackathon: Build a super fast and real-time personal site / portfolio
Tags: dohackathon, hugo, static, digitalocean
Published: 2021-01-09 03:42:23

## What I built

My GitHub account has been active since 2011, and building a portfolio online has always been in my task list but never got around to it. 

What I really want is to have a super fast static site, but differentiate from other static portfolio sites with a real-time feed of my GitHub stats.

I have built my personal portfolio site, but with a slight twist as it obtains my GitHub stats via Codersrank.

### Category Submission: 

Personal Site/Portfolio

### App Link

DO Generated URL: https://portfolio-do-hackathon-y5tio.ondigitalocean.app

### Screenshots

![](http://tldr.pro/blog/blog/images/hugo-static-site-continuous-deployment-to-do/introduction.png)

![](http://tldr.pro/blog/blog/images/hugo-static-site-continuous-deployment-to-do/b3334c04-d137-4087-aa30-149e25d57c31.png)

![](http://tldr.pro/blog/blog/images/hugo-static-site-continuous-deployment-to-do/c51b9d2b-f3b2-4c32-89b5-3b31852e5b8a.png)

![](http://tldr.pro/blog/blog/images/hugo-static-site-continuous-deployment-to-do/f51dd979-b32f-4a57-a0c7-159af1f4713a.png)

![](http://tldr.pro/blog/blog/images/hugo-static-site-continuous-deployment-to-do/9fa3c6e4-a69b-48ac-8729-5c257d110225.png)

![](http://tldr.pro/blog/blog/images/hugo-static-site-continuous-deployment-to-do/5781f82d-06b9-4bd5-959b-26c9269a0e6d.png)

### Description

My personal portfolio site, super fast with real-time GitHub statistics feed from Codersrank.

### Link to Source Code

https://github.com/dennislwm/portfolio-do-hackathon

### Permissive License

[MIT License](https://github.com/dennislwm/portfolio-do-hackathon/blob/main/LICENSE)

## Background
(What made you decide to build this particular app? What inspired you?)

Writing is hard. Completing a project is even harder.

For my new year's resolution, I will finish all my projects that I plan to start this year, and I will write progress updates in order to be accountable to my audience, i.e. you.

I started my learning journey into static sites in 2019. The obvious advantages is speed and performance compared to dynamic sites. 

You can read more about this in my first post in the series.

[My first progress update for DigitalOcean Hackathon - DEV Community 👩‍💻👨‍💻](https://dev.to/dennislwm/my-first-progress-update-for-digitalocean-hackathon-3o75)

### How I built it 
(How did you utilize DigitalOcean’s App Platform? Did you learn something new along the way? Pick up a new skill?)

This is a summary of how I built the site:

* Fork DO [sample](https://github.com/digitalocean/sample-hugo) Hugo repository.
* Clone the forked repo to my local computer
* Configure DO deployment file and README
* Git add, commit and push
* Deploy to DO using 1-click

This is how I customized my Hugo site:

* Add a new theme from a [list](https://themes.gohugo.io) of free Hugo themes.
* Replace default config file
* Copy folders from new theme
* Add a section to the new theme
* Git add, commit and push
* DO automatic deployment

You can read more about this in my second post in the series.

[Hugo Static Site Continuous Deployment to DigitalOcean - DEV Community 👩‍💻👨‍💻](https://dev.to/dennislwm/hugo-static-site-continuous-deployment-to-digitalocean-46go)

### Additional Resources/Info

* [Announcing the DigitalOcean App Platform Hackathon on DEV! - DEV Community 👩‍💻👨‍💻](https://dev.to/devteam/announcing-the-digitalocean-app-platform-hackathon-on-dev-2i1k)
* [App Platform :: DigitalOcean Product Documentation](https://www.digitalocean.com/docs/app-platform)
* [How to Add a "Deploy to DigitalOcean" Button to Your Repository :: DigitalOcean Product Documentation](https://www.digitalocean.com/docs/app-platform/how-to/add-deploy-do-button)
* Hugo. The YouTube video "[Build a free website with Hugo in 2 hours](https://www.youtube.com/watch?v=5GnFZ8XpMak&list=PLL4LhCcKQD3KD1bRjZEd5QE4oqc-ukJzQ&index=62&t=160s)" walks through installing and setting up Hugo.
* DO account (new signup with $100 [free](https://yourls.fxgit.work/001affdo) credit).