此项目想在(HiApp)[https://github.com/BelinChung/HiApp]基础上实现实现聊天功能,感谢HiApp
后端通过(netty-socket)[https://github.com/mrniko/netty-socketio]搭建
- cordova
^5.0.0
- framework7
^1.4.0
HiApp use npm
to manage third-party packages now.
Then install all dependencies, in repo's root:
$ npm install
Install the cordova module using npm utility of Node.js.
$ npm install -g cordova
Go to the directory where you maintain your source code, and run a command such as the following:
$ cordova create hiapp com.hiapp.hiapp HiApp
Before you can build the project, you need to specify a set of target platforms.
$ cordova platform add ios
You need to add plugins that provide access to core Cordova APIs.
$ cordova plugin add cordova-plugin-whitelist cordova-plugin-camera cordova-plugin-geolocation cordova-plugin-file-transfer cordova-plugin-inappbrowser cordova-plugin-network-information
Run the following command to iteratively build the project:
$ cordova build ios
Double-click to open the platforms/ios/HiApp.xcodeproj
file
Press the Run
button to deploy the application in the emulator
HiApp use webpack browser sync server to develop, Just run it in repo's root:
$ npm run dev
WebApp will be available on http://localhost:3000/
$ npm run build
The result is available in www/
folder.
Copyright (c) 2014-2016 Belin Chung. MIT Licensed, see LICENSE for details.