Skip to content

Latest commit

 

History

History
30 lines (28 loc) · 829 Bytes

README.md

File metadata and controls

30 lines (28 loc) · 829 Bytes

NGPC Website

Official website for Nangang Garden Presbyterian Church in Taiwan.

Prerequisite

  1. git installed
  2. Node.js installed
  3. lessc installed
  4. Clone this repo to your computer
    git clone https://github.com/yshlin/ngpc
    

Development

  1. Enter the folder and install dependencies by
    cd ngpc
    npm install
    
  2. Copy models/config.json.sample and fill-in values
    cd models
    cp config.json.sample config.json
    
  3. Generate static website by running
    npm run prepare
    
  4. Check the generated static website by opening site/index.html in the browser

Publish

  • When development done, simply run npm run upload to publish to github.