Skip to content

Instantly share code, notes, and snippets.

@jimmychu0807
Created March 4, 2020 12:03
Show Gist options
  • Save jimmychu0807/018b261eed54c97ca14c9269b3fc1c48 to your computer and use it in GitHub Desktop.
Save jimmychu0807/018b261eed54c97ca14c9269b3fc1c48 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