esistgut / code-push-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CodePush Server source

What's this then?

This CodePush server is like a polyfill for Microsoft's CodePush server, but with support for NativeScript apps.

Huge thanks to this project which this project is based upon. We didn't fork it because significant (non-unforkeable) changes had to be made (replacing hardcoded Chinese text by English comes to mind).

You can either roll your own clone of this server or use the shared service we provide (which is configured by default by the NativeScript CodePush plugin).

Support Storage mode

  • local storage bundle file in local machine
  • qiniu storage bundle file in qiniu
  • s3 storage bundle file in aws
  • oss storage bundle file in aliyun
  • tencentcloud storage bundle file in tencentcloud

Shell login

With the NativeScript CodePush CLI installed (npm i -g nativescript-code-push), you can do:

$ nativescript-code-push login https://nativescript-codepush-server.herokuapp.com # or your own server endpoint

Web interface

nativescript-codepush-server.herokuapp.com

HOW TO INSTALL code-push-server

DEFAULT ACCOUNT AND PASSWORD

  • account: admin
  • password: 123456

Making changes to this server

Go ahead and roll your own, but if you want to change the production code, push to master and Heroku will deploy a new version automatically.

To check the production logs (requires the right credentials 😉):

heroku logs --app nativescript-codepush-server --tail

About

License:MIT License


Languages

Language:JavaScript 94.1%Language:HTML 3.9%Language:PLpgSQL 0.8%Language:Makefile 0.7%Language:CSS 0.5%Language:Dockerfile 0.1%