Skip to content
My personal website
CSS JavaScript Other
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
web
.gitignore
.travis.yml
CNAME
LICENSE
README.md
projects.json
publish.sh
requirements.txt
run.py
setup.py
sonar-project.properties

README.md

Introduction

This is a personal website for Sumin Byeon.

Build Status

Build Status Coverage Status Sonar

Prerequisites

  • A Google Sheet document and its ID. The ID is expected to be stored in GSPREAD_KEY environment variable.
  • A Google API key (refer this page for details).

Build

Install gulp

npm install -g gulp

Build Semantic UI

npm install semantic-ui --save
cd semantics
gulp build

Deployment

Since this is essentially a collection of static web resources (i.e., HTML, CSS, JavaScript) , deployment is quite straightfoward. We could use a traditional web hosting service or AWS S3, but we determined GitHub Pages is more than enough for a low-traffic static web site.

Publish to GitHub Pages

There is a shell script for that.

./publish.sh

Compile a list of geocoordinates from Google Spreadsheet

web import-gspread $GSPREAD_KEY > web/static/locations.js

NOTE: This is automatically handled by publish.sh script, and thus no need to be run unless for testing.

$GSPREAD_KEY is a Google Docs document ID. The Google service credentials is stored in a .json file, which is automatically generated upon a Google Service Key. For more details, refer this page.

You can’t perform that action at this time.