Skip to content

Commit

Permalink
Merge pull request #2 from Collinbrown95/hugo-site
Browse files Browse the repository at this point in the history
Hugo site
  • Loading branch information
Collinbrown95 authored May 2, 2024
2 parents 08425d8 + 1c17558 commit b53aa5d
Show file tree
Hide file tree
Showing 61 changed files with 1,401 additions and 436 deletions.
14 changes: 14 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ARG VARIANT=latest
FROM docker.io/oven/bun:${VARIANT}

RUN apt-get update \
&& apt-get -y install --no-install-recommends \
git \
nano \
vim-tiny \
&& apt-get auto-remove -y \
&& apt-get clean -y \
&& chsh -s $(which bash) bun \
&& echo 'export PS1="\e[01;32m\u\e[m:\e[01;34m\w\e[m\$ "' >> /home/bun/.bashrc

USER bun
32 changes: 32 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
{
"name": "Debian",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
// Podman settings to run as non-root user
// "containerUser": "vscode",
// "runArgs": [
// "--userns=keep-id",
// "--network=host"
// ],
"features": {
"ghcr.io/devcontainers/features/hugo:1": {
"extended": true
},
"ghcr.io/devcontainers/features/go:1": {},
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/devcontainers/features/python:1": {}
}

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
44 changes: 24 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,37 @@
# This is a basic workflow to help you get started with Actions
name: GitHub Pages

name: build-resume

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [main]
branches:
- main # Set a branch to deploy
- hugo-site
pull_request:

jobs:
build-resume:
runs-on: ubuntu-latest
container: pandoc/latex:2.9
deploy:
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Install dependencies
run: |
apk add make texlive git
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.119.0'
# extended: true

- name: Build Resume
- name: Build
run: |
export TEXMF=/usr/share/texmf-dist
make html
ls /__w/resume/resume/output
cd exampleSite
hugo -t resume --themesDir ../..
- name: Publish
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: /__w/resume/resume/output
publish_dir: ./public
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
output/
output/
public/

.hugo_build.lock
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

20 changes: 20 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2018 Eddie A. Webb

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
60 changes: 0 additions & 60 deletions Makefile

This file was deleted.

86 changes: 83 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,85 @@
# Description
# hugo Resume

[**My Resume**](https://collinbrown95.github.io/resume/resume-detailed.html)
Created from [Start Bootstrap - Resume](https://startbootstrap.com/template-overviews/resume/).
This is basically a single-page website with auto-scrolling based on left-hand nav. Dedicated project/publications pages allow more detail.

**Attribution**: The resume templates and styles used in this repository are borrowed from the [pandoc_resume](https://github.com/mszep/pandoc_resume) project.
<!-- MarkdownTOC autolink="true" -->

- [Examples](#examples)

- [Setup & Use](#setup--use)
- [Summary](#summary)
- [Data files](#data-files)
- [Projects](#projects)
- [Publications](#publications)
- [Blog / Posts](#blog--posts)
- [Template params](#template-params)
- [Internationalization](#internationalization)
- [Credits](#credits)
- [Contributions](#contributions)
- [Start Bootstrap Resume](#start-bootstrap-resume)

## Setup & Use

This theme uses a combination of a custom archetype `projects` and some data files to drive content.

You can test the provided [exampleSite](exampleSite) after cloning with the command:
`cd exampleSite;hugo -t hugo-resume --themesDir ../.. server`

### Summary
Edit the main `contents/_index.md with a brief bio/summary`

### Data files
Data files are used for simple content presented on the homepage.

- [data/skills.json](https://github.com/eddiewebb/hugo-resume/blob/master/exampleSite/data/skills.json)
- [data/experience.json](https://github.com/eddiewebb/hugo-resume/blob/master/exampleSite/data/experience.json)
- [data/education.json](https://github.com/eddiewebb/hugo-resume/blob/master/exampleSite/data/education.json)


### Projects
Initially projects were in their own JSON file too, but I decided I wanted to allow more detail and custom formatting.
Projects are added to one of 2 subfolders of `creations` or `contributions`. The difference indicates your role as originator or colaborator. Use `hugo add projects/TYPE/name-of-project.md` to leverage the proper archetype.

### Publications
Similar to projects, create them under `publications`. Include any papers, speaking engagements, articles, etc.

### Blog / Posts
Similar to posts, create them under `blog`. Include any thoughts, musiings, etc.
**This template does not support a `posts` folder**

### Template params

All personal information outside the above details is captured by params in [`config.toml`](https://github.com/eddiewebb/hugo-resume/blob/master/exampleSite/config.toml).

## Credits

This project borrows significantly from the [Hugo Resume](https://github.com/eddiewebb/hugo-resume) Hugo Theme.

### Contributions
The following users have made notable contributions:
- [Anthony Whitford](https://github.com/awhitford)
- [Kaushal Modi](https://github.com/kaushalmodi)
- [Julien Rouse](https://github.com/JulienRouse)

### Start Bootstrap Resume

Start Bootstrap is an open source library of free Bootstrap templates and themes. All of the free templates and themes on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.

* https://startbootstrap.com
* https://twitter.com/SBootstrap

Start Bootstrap was created by and is maintained by **[David Miller](http://davidmiller.io/)**, Owner of [Blackrock Digital](http://blackrockdigital.io/).

* http://davidmiller.io
* https://twitter.com/davidmillerskt
* https://github.com/davidtmiller

Start Bootstrap is based on the [Bootstrap](http://getbootstrap.com/) framework created by [Mark Otto](https://twitter.com/mdo) and [Jacob Thorton](https://twitter.com/fat).


# Attribution

## Icons

- Icons from *Skills* section are from [Icons8](https://icons8.com/) and [Devicon](https://github.com/devicons/devicon).
7 changes: 0 additions & 7 deletions actions/action.yml

This file was deleted.

5 changes: 0 additions & 5 deletions actions/entrypoint.sh

This file was deleted.

39 changes: 39 additions & 0 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
title = "Collin Brown"
baseURL = "http://localhost:8000"
theme = "resume"
languageCode = "en-ca"
PygmentsCodeFences = true
PygmentsCodeFencesGuessSyntax = true
PygmentsStyle = "monokai"
enableGitInfo = false

[params]
credentials = "M.Sc. Candidate, M.A."
title = "Sr. Data Architect & Technical Lead"
favicon = "/favicon.ico"
firstName = "Collin"
lastName = "Brown"
profileImage = "img/collin.png"
showSocializations = true
showQr = true
sections = [
"skills",
"experience",
"education",
"publications",
"contributions",
]

[[params.handles]]
link = "https://www.linkedin.com/in/collin-brown-499a4580/"
name = "LinkedIn"

[[params.handles]]
link = "https://github.com/collinbrown95/"
name = "GitHub"

[outputs]
home = ["HTML", "JSON"]

[taxonomies]
tag = "tags"
15 changes: 15 additions & 0 deletions exampleSite/content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: "Home"
outputs:
- html
- rss
- json
---

Proven Data Engineering and Solution Architecture expertise. Track record of successful delivery of complex data-driven software projects in large enterprise settings.

-----

### Overview

Combining my background in Data Science, Software Engineering, and Platform Development, I've driven projects at every level of the data value chain. From pioneering proof-of-concepts to leading large-scale system redesigns, I've honed expertise in scalable data architectures and DevOps best practices. My focus now is on implementing data mesh architectures by embedding myself in domain-aligned data product teams, ensuring that valuable concrete solutions drive meaningful organizational transformation.
6 changes: 6 additions & 0 deletions exampleSite/content/projects/contributions/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Open Source Contributions
link: NA
image: /img/marketplace-summary.webp
type: hidden # Don't list as a page in Projects summary
---
10 changes: 10 additions & 0 deletions exampleSite/content/projects/contributions/docanno.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: "Doccano"
link: "https://github.com/doccano/doccano/pull/976"
image: "/img/doccano.png"
description: "Open source annotation tool for machine learning practitioners. "
featured: true
tags: ["Python", "JavaScript", "Machine Learning"]
---

Implemented internationalization on the user interface, and also implemented miscellaneous small feature requests and bug fixes.
Loading

0 comments on commit b53aa5d

Please sign in to comment.