-
Notifications
You must be signed in to change notification settings - Fork 84
readme
Please make sure you have Nodejs installed. v6.x is recommended while v4.x is the minimium supported version.
if your
$ node-gyp --versionoutput less then 3.4.0 or no node-gpy installed in your system , please run below cmd to install or upgrade node-gyp
$ npm install -g node-gyp$ tnpm install -g @ali/pakeex-cli
To generate a Android .apk file, there are several steps you should follow, SEE MORE.
To generate a iOS .ipa or .app file, there are several steps you should follow, SEE MORE.
Initial your weex project and download dependencies.
$ pakeex init && tnpm installThen, initial build project
$ pakeex build initBuild iOS package and run in a real device or simulator. (as well as Android)
$ pakeex run ios# init
$ pakeex build init [android|ios|all] [-u url]
# build, genrate a apk/ipa/app package, default to -r
$ pakeex build [android|ios|html|all] [-d|-r]
# emulate, run the package in real device or simulator, default to -d
$ pakeex emulate [android|ios|html|all] [-d|-r]
# run, equals to build&emulate, default to -d
$ pakeex run [android|ios|html] [-d|-r]
# tips: -d, debug | -r, release
# -u url, specific a third party template project,
# see http://xxxxxYou can custom package name, app name, icon, splash, etc. as you want at config/config.<platform>.js.
Certificate and signature are supported in release package.
Make sure you have owned a valid cert or keystore, and edit config/config.<platform>.js.
While a default native project are provided, you can also custom it or create a completely new one for more amazing purpose!
However, you must obey some rules, for Android, for iOS.
Our default project are hosting at Android iOS, you can fork and custom without limitation.