Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.13 KB

File metadata and controls

53 lines (37 loc) · 1.13 KB

Documentation Deployment Instructions

English | 中文

Build

Basic Environment Setup

  1. Install Node.js (version 10.15.3 or above)

    curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -
    sudo apt-get install -y nodejs
  2. Install Hugo (version 0.124.1 or above)

    sudo pip3 install hugo
  3. Install Golang (version 1.18.0 or above)

    sudo add-apt-repository ppa:longsleep/golang-backports
    sudo apt update
    sudo apt install golang-go
  4. Install Dependencies

    npm install -D autoprefixer
    npm install -D postcss-cli
    npm install -D postcss