8000 GitHub - 1101-1105/Jellyfish: Course project of Fudan COMP130112.01
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

1101-1105/Jellyfish

Repository files navigation

Jellyfish

A simple Framework7 hybrid app. With PhoneGap you can easily convert it to native iOS app.

Requirements

  • gulp ^3.9.0
  • webpack ^1.10.1
  • cordova ^5.0.0
  • framework7 ^1.2.0

Dependencies

Jellyfish use gulp and webpack to build a production versions,

First you need to have gulp and webpack which you should install globally.

Jellyfish also use bower to manage third-party packages, global install it as same as gulp and webpack.

$ npm install -g gulp
$ npm install -g webpack
$ npm install -g bower

Then install all dependencies, in repo's root:

$ npm install 
$ bower install

PhoneGap App Guides

Install the cordova module using npm utility of Node.js.

$ npm install -g cordova

Create App

Go to the directory where you maintain your source code, and run a command such as the following:

$ cordova create Jellyfish com.Jellyfish.Jellyfish Jellyfish

Add Platforms

Before you can build the project, you need to specify a set of target platforms.

$ cordova platform add ios

Add Plugins

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

Build the App

Run the following command to iteratively build the project:

$ cordova build ios

Test the App on an iOS Device with Xcode

Double-click to open the platforms/ios/Jellyfish.xcodeproj file

Press the Run button to deploy the application in the emulator

Web App Preview

Jellyfish use webpack dev server to develop, Just run it in repo's root:

$ gulp build-dev

WebApp will be available on http://localhost:3000/

Web App Release / PhoneGap App Release

$ gulp build

The result is available in www/ folder.

About

Course project of Fudan COMP130112.01

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0