本地

未匹配的标注
本文档最新版为 3.x,旧版本可能放弃维护,推荐阅读最新版!

在本地部署 Micro 极其简单

安装

来自源

go get github.com/micro/micro/v2

发行二进制

# MacOS
curl -fsSL https://raw.githubusercontent.com/micro/micro/master/scripts/install.sh | /bin/bash

# Linux
wget -q  https://raw.githubusercontent.com/micro/micro/master/scripts/install.sh -O - | /bin/bash

# Windows
powershell -Command "iwr -useb https://raw.githubusercontent.com/micro/micro/master/scripts/install.ps1 | iex"

运行

运行 micro 像输入 micro 一样简单.

# Display the commands
micro --help

运行服务器

micro server

本文章首发在 LearnKu.com 网站上。

上一篇 下一篇
taadis
贡献者:1
讨论数量: 0
发起讨论 查看所有版本


暂无话题~