Skip to content

Instantly share code, notes, and snippets.

@jimmychu0807
Created March 4, 2020 12:06
Show Gist options
  • Save jimmychu0807/f0e79564a93d38e9eb457c055d7abc93 to your computer and use it in GitHub Desktop.
Save jimmychu0807/f0e79564a93d38e9eb457c055d7abc93 to your computer and use it in GitHub Desktop.
Markdium-用 Substrate Front-end Template 輕鬆打造你的 React 應用
mkdir ui-tutorial
cd ui-tutorial
# -- 安裝 Rust 及 Substrate
# 更詳細的安裝指引可參考:
# https://substrate.dev/docs/en/overview/getting-started
curl https://getsubstrate.io -sSf | bash
# -- 下載 Substrate Node Template,編譯並運行起來
git clone https://github.com/substrate-developer-hub/substrate-node-template node-template
cd node-template
# 這指令會編譯 Substrate, 須時 30 - 45 分鐘不等
cargo build --release
# 運行以下指令會佔據整個終端,直到 Cmd+C / Ctrl+C 停止
target/release/node-template --dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment