Giter VIP home page Giter VIP logo

ionic's Introduction

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

Note: Ionic currently best supports iOS 6+ and Android 4.1+, with limited support for Android 2.3. Ionic is changing quickly as we work towards the beta.

What is Ionic?

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

Weather Demo

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:

$ sudo 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

Development

  • npm install to setup
  • grunt to jshint & build
  • grunt watch to watch and rebuild on change
  • grunt karma:single to test one-time
  • grunt karma:watch to test and re-run on source change
  • grunt protractor:local to test e2e tests locally (requires static server on port 8080)
  • grunt e2e-watch to run end to end tests on change of files in test/e2e/**/*
  • grunt cloudtest to run unit & e2e tests in the cloud

Commit Conventions

Pushing Releases

(uses AngularJS's bash utils - when you run any script, run it with --git-push-dryrun=true to do 'mock' git pushes)

  • Run ./scripts/release/finalize-version.sh --action=prepare to:
    • Remove version suffix
    • Write new version to package/bower/component.json
    • Move build files to release/
    • Commit & tag the release
  • Run ./scripts/release/finalize-version.sh --action=publish to:
    • Push out new version
  • Once new version is pushed out, run ./scripts/release/initialize-new-version.sh (usage is shown in file), to bump to next version with bump type / version suffix / version name specified.

LICENSE

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

ionic's People

Contributors

mlynch avatar ajoslin avatar adamdbradley avatar sorich87 avatar matiboy avatar tlancina avatar uniring avatar travisrussi avatar jriggins avatar mhartington avatar deflomu avatar malixsys avatar spitimage avatar rizkit avatar fomkin avatar cxyokk avatar rangerrick avatar maitai avatar wedgybo avatar jesse-sonar avatar lwu avatar mathieudutour avatar mrmusa avatar nurazem avatar 0x-r4bbit avatar somethingnew2-0 avatar trott avatar sheldonbaker avatar xalien95 avatar vladgurovich avatar

Watchers

joony avatar James Cloos 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.