https://github.com/suminb/web
My personal website
https://github.com/suminb/web
python semantic-ui web
Last synced: 10 months ago
JSON representation
My personal website
- Host: GitHub
- URL: https://github.com/suminb/web
- Owner: suminb
- License: gpl-3.0
- Created: 2011-01-12T00:45:46.000Z (over 15 years ago)
- Default Branch: develop
- Last Pushed: 2022-05-21T17:47:28.000Z (about 4 years ago)
- Last Synced: 2025-02-02T08:11:16.347Z (over 1 year ago)
- Topics: python, semantic-ui, web
- Language: CSS
- Homepage: http://shortbread.io
- Size: 11.8 MB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Introduction
-------------
This is a personal website for Sumin Byeon.
Build Status
------------
[](https://travis-ci.org/suminb/web)
[](https://coveralls.io/github/suminb/web?branch=develop)
[](https://sonarcloud.io/dashboard?id=suminb_web)
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](https://developers.google.com/maps/documentation/geocoding/get-api-key) 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](https://gspread.readthedocs.io/en/latest/oauth2.html).