As we know microsoft CodePush cloud is slow in China, we can use goby to build our's. We can use qiniu or OSS to store the files, because it's simple and quick! Or you can use local storage, just modify conf/app.ini file, it's simple configure.
$ unzip goby-*.zip
$ ./goby server #open http://127.0.0.1:3000 in browser and configure it.
$ code-push login http://127.0.0.1:3000
- go
- glide
- code-push-cli (optional)
- Use react-native-code-push or react-native-goby in client project.
$ git clone https://github.com/MessageDream/goby.git
$ cd goby
$ glide install
$ go build goby.go
$ ./goby server #open http://127.0.0.1:3000 in browser and configure it.
$ code-push login http://127.0.0.1:3000
If you want to client just download the diff code, according to the following steps:
- Edit
conf/app.ini
>[package]
>ENABLE_GOOGLE_DIFF = true
- Use react-native-goby replace react-native-code-push in client project.
- mysql
- postgres
- sqlite3
- tidb
- memory
- file
- memcache
- redis
- console
- file
- database
- connection(tcp、unix or udp)
- email(smtp)
MIT License read