Sign inSign up

sophoun/ota-server

By sophoun

•Updated almost 6 years ago

Image
0

213

sophoun/ota-server repository overview

通过OTA的方式安装apk和ipa。 基于ios-ipa-server⁠开发

⁠支持

  • OS X
  • Ubuntu
  • CentOS
  • 其他平台未测试

⁠需要

⁠用法

Usage: ios-ipa-server [option] [dir]

Options:

-h, --help                output usage information
-V, --version             output the version number
-p, --port <port-number>  set port for server (defaults is 1234)

⁠效果图

screeshot

# 下载源码
$ git clone [email protected]:hellowj/ota_server.git

# 安装依赖包
$ cd ota-server
$ npm install 

# 添加测试数据
# 把apk文件放在apk目录下,把ipa文件放在ipa目录下

# 运行
$ node bin/ota-server
# open https://ip:port on your iphone

⁠Build docker image

$ docker build -t sophoun/ota-server .

⁠Run docker image

$ docker run -d \
-e host_ip=[1.0.0.1] \
-e port=[1200] \
-p 1200:1200 \
-v [absolute_path_ipa]:/app/ipa \
-v [absolute_path_apk]:/app/apk sophoun/ota-server

⁠Lisence

MIT⁠

Tag summary

Content type

Image

Digest

Size

347.9 MB

Last updated

almost 6 years ago

docker pull sophoun/ota-server