forked from x/ContextOS
add some
This commit is contained in:
parent
b54910b817
commit
d6582f37e4
@ -1,7 +1,7 @@
|
||||
title "快速下载"
|
||||
chapter "下载程序"
|
||||
spark `Contexts 使用 Golang 开发,支持交叉编译,所以在各种操作系统上都只需要一个 bin 文件,直接下载执行即可。`
|
||||
spark `为了方便下载并快速启动,可以使用如下命令。
|
||||
spark `Contexts 使用 Golang 开发,支持交叉编译,所以在各种操作系统上都只需要一个 bin 的程序文件,直接下载执行即可。`
|
||||
spark `为了方便下载并快速启动,可以使用如下命令。首先创建一个新的目录,然后执行下载命令。
|
||||
自动选择下载命令 curl 或 wget,
|
||||
自动识别出操作系统与处理器类型,然后下载所需的 bin 文件,并自动启动服务进程。
|
||||
点击下面的命令,即可直接复制,然后打开命令行终端,执行一下即可。`
|
||||
|
@ -3,6 +3,7 @@ spark `如果想了解 Contexts 的源码与原理,可以直接下载项目所
|
||||
refer `
|
||||
git https://git-scm.com/download
|
||||
golang https://golang.google.cn/dl/
|
||||
npm https://nodejs.org/en/download
|
||||
`
|
||||
web.code.publish source
|
||||
spark `执行 <code>etc/miss.sh</code> 脚本,会自动下载所需要的依赖,并编译项目。`
|
||||
|
@ -1,2 +1 @@
|
||||
git clone {{.Option "source"}}
|
||||
cd contexts; source etc/miss.sh
|
||||
export ctx_dev={{.Option "domain"}}{{.Option "ctx_env"}} temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp source
|
||||
|
Loading…
x
Reference in New Issue
Block a user