Giter Site home page Giter Site logo

smtc / ionic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ionic-team/ionic-framework

0.0 3.0 0.0 27.93 MB

Advanced HTML5 mobile development framework and SDK. Build great hybrid apps with web technologies you already know and love. Best friends with React

Home Page: http://ionicframework.com/

License: Other

JavaScript 83.40% CSS 16.21% Shell 0.40%

ionic's Introduction

Build Status

Issues Ready

The best place to start with Ionic is our documentation page.

Ionic currently best supports iOS 6+ and Android 4.1+, with scaled-down support for Android 2.3.

What is Ionic?

Ionic is the open source HTML5 Mobile Framework for building amazing, cross-platform hybrid native apps with HTML, JavaScript, and CSS.

Ionic GUI

We built Ionic because we wanted a framework that focused on building hybrid native apps, rather than mobile websites. We wanted this framework to be obsessive about great design and performance. A framework that left the past behind and focused on the future where mobile devices could make HTML5 feel native.

It's important to realize that Ionic is not a replacement for frameworks used for building mobile web apps. There are a lot of great solutions that work well for websites, like jQuery Mobile.

Ionic is also not a good solution if you need to support older generation devices. Our compatibility starts at iOS 6 and Android 4.1. We will never support versions earlier than those. This is a framework for the future. Learn more: Where does the Ionic Framework fit in?

Quick Start

To start using ionic, you have two options: copy over the built JS and CSS files, or use the ionic tool (ionic-cli) which can be installed through npm: (You may need to prefix the command with sudo depending on your OS and setup.)

$ npm install -g ionic

Then, you can start a new ionic project by running:

$ ionic start myproject

Manual Start

  • Download the latest stable release from:
    • The release folder of this repository
    • The Ionic CDN: Latest Release
    • bower install ionic
  • Download the bleeding edge just-from-master release from:
    • The Ionic CDN: Nightly Build
    • Look in the ionic-bower Repository for the latest version, and do for example bower install driftyco/ionic-bower#0.9.23-alpha-652 (bower install ionic will have the latest available soon)

Once you have a release, use js/ionic.js, js/ionic-angular.js, and css/ionic.css.

For most cases, you'll need AngularJS as well. This is bundled in js/angular/ and js/angular-ui-router/.

Demos

Community

Authors

Max Lynch

Ben Sperry

Adam Bradley

Andrew Joslin

Development

  • npm install && npm install -g gulp protractor to setup
  • (if you wish to run end-to-end tests): webdriver-manager update --chrome to install the webdriver.
  • gulp or gulp build to build
  • gulp docs to generate docs (read Documentation below for how to test docs locally).
  • gulp build --release to build with minification & strip debugs
  • gulp watch to watch and rebuild on change
  • gulp karma to test one-time
  • gulp karma-watch to test and re-run on source change
  • gulp snapshot to test e2e tests locally (run gulp demos first to generate e2e tests). Be sure to run ./node_modules/.bin/webdriver-manager update --chrome to first install the chrome webdriver dependency.

Documentation

  • Documentation is generated into dist/ionic-site. To test documentation properly, follow these steps:
    1. Clone ionic-site into ./dist/ionic-site.
    1. Start jekyll, telling it to rebuild whenever the site changes.
    • cd dist/ionic-site && jekyll serve -w
    1. Go back to project root and build the docs
    • gulp docs [--doc-version=(versionName|nightly)]
    1. Open localhost:4000 and see your changes! Re-run gulp docs again whenever you change something, and jekyll will update the site.

Demos / Kitchen Sink

  • The demo site is generated into dist/ionic-demo. To test the demos, follow these steps:
    1. Run gulp demos [--demo-version=(versionName|nightly)]
    2. Start an http server from dist/ionic-demo:
    • cd dist/ionic-demo && python -m SimpleHTTPServer
    1. Navigate to http://localhost:8000/{versionName|nightly} and use the demos
    2. Run gulp demos again whenever you change the demos

Commit Conventions

Pushing New Release of Ionic

  • Almost all of the logic for releasing Ionic is done on the Travis server
  • To push a new release:
    1. Update package.json version to new version
    2. Generate changelog with gulp changelog
    3. Go through the changelog, and fix any mistakes or clarify any unclear commit messages
    4. Commit package.json and CHANGELOG.md and push to master
  • Travis will detect that this commit changed the version in package.json and push out all necessary for this new release (tags, release files, site config, ...)

LICENSE

Ionic is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.

ionic's People

Contributors

adamdbradley avatar ajoslin avatar antonshevchenko avatar bostondv avatar chaffeqa avatar deflomu avatar drewrygh avatar flakyfilibuster avatar georgicodes avatar gnomeontherun avatar ionitron avatar jimthedev avatar jriggins avatar keithdmoore avatar malixsys avatar matiboy avatar mhartington avatar mlynch avatar moroshko avatar pennersr avatar perrygovier avatar rvanbaalen avatar sorich87 avatar spitimage avatar tlancina avatar travisrussi avatar uniring avatar waffle-iron avatar xaka avatar zachmoreno avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.