{"id":7762,"date":"2015-10-23T01:37:08","date_gmt":"2015-10-23T01:37:08","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/10\/23\/driftyco-ionic\/"},"modified":"2015-10-23T01:37:08","modified_gmt":"2015-10-23T01:37:08","slug":"driftyco-ionic","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/10\/23\/driftyco-ionic\/","title":{"rendered":"driftyco\/ionic"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/circleci.com\/gh\/driftyco\/ionic.svg?style=svg\" \/><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/badge.waffle.io\/driftyco\/ionic.png?label=ready&amp;title=Ready\" \/><\/p>\n<p>The best place to start with Ionic is our documentation page.<\/p>\n<p>Ionic currently best supports iOS 7+ and Android 4.1+.<\/p>\n<p>Ionic is the open source HTML5 Mobile Framework for building amazing, cross-platform hybrid native apps with HTML, JavaScript, and CSS.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/ionicframework.com\/img\/gui_screen.jpg\" \/><\/p>\n<p>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.<\/p>\n<p>It\u2019s 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.<\/p>\n<p>Ionic is also not a good solution if you need to support older generation devices. Our compatibility <em>starts<\/em> 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?<\/p>\n<h2>Quick Start<\/h2>\n<p>To start using ionic, you have two options: copy over the built JS and CSS files, or use the <code>ionic<\/code> tool (ionic-cli) which can be installed through npm: <em>(You may need to prefix the command with <code>sudo<\/code> depending on your OS and setup.)<\/em><\/p>\n<pre><code>$ npm install -g ionic\n<\/code><\/pre>\n<p>Then, you can start a new ionic project by running:<\/p>\n<pre><code>$ ionic start myproject\n<\/code><\/pre>\n<h3>Manual Start<\/h3>\n<ul>\n<li>Download the latest <strong>stable<\/strong> release from:\n<ul>\n<li>The <code>release<\/code> folder of this repository<\/li>\n<li>Ionic CDN: Latest Release<\/li>\n<li>Using bower: <code>bower install ionic<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Download the <strong>bleeding edge just-from-master release<\/strong> from:\n<ul>\n<li>Ionic CDN: Nightly Build<\/li>\n<li>Using bower: <code>bower install driftyco\/ionic-bower#master<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Once you have a release, use <code>js\/ionic.js<\/code>, <code>js\/ionic-angular.js<\/code>, and <code>css\/ionic.css<\/code>.<\/p>\n<p>For most cases, you\u2019ll need AngularJS as well. This is bundled in <code>js\/angular\/<\/code> and <code>js\/angular-ui-router\/<\/code>.<\/p>\n<h2>Demos<\/h2>\n<h2>Community<\/h2>\n<h2>Authors<\/h2>\n<p>Originally created by Adam Bradley, Ben Sperry, and Max Lynch, Ionic has seen hundreds of great contributors from around the world, including Ionic Team Members Perry Govier, Mike Hartington, and Tim Lancina.<\/p>\n<h2>Development<\/h2>\n<ul>\n<li><code>npm install &amp;&amp; npm install -g gulp protractor<\/code> to setup<\/li>\n<li>(if you wish to run end-to-end tests): <code>webdriver-manager update --chrome<\/code> to install the webdriver.<\/li>\n<li><code>gulp<\/code> or <code>gulp build<\/code> to build<\/li>\n<li><code>gulp docs<\/code> to generate docs (read Documentation below for how to test docs locally).<\/li>\n<li><code>gulp build --release<\/code> to build with minification &amp; strip debugs<\/li>\n<li><code>gulp watch<\/code> to watch and rebuild on change<\/li>\n<li><code>gulp karma<\/code> to test one-time<\/li>\n<li><code>gulp karma-watch<\/code> to test and re-run on source change<\/li>\n<li><code>gulp snapshot<\/code> to test e2e tests locally (run <code>gulp demos<\/code> first to generate e2e tests). Be sure to run <code>.\/node_modules\/.bin\/webdriver-manager update --chrome<\/code> to first install the chrome webdriver dependency.<\/li>\n<\/ul>\n<h3>Documentation<\/h3>\n<ul>\n<li>Documentation is generated into <code>dist\/ionic-site<\/code>. To test documentation properly, follow these steps:\n<ol>\n<li>Clone ionic-site into <code>.\/dist\/ionic-site<\/code><\/li>\n<\/ol>\n<ul>\n<li><code>git clone git@github.com:driftyco\/ionic-site dist\/ionic-site<\/code><\/li>\n<\/ul>\n<ol>\n<li>Start jekyll, telling it to rebuild whenever the site changes<\/li>\n<\/ol>\n<ul>\n<li><code>cd dist\/ionic-site &amp;&amp; jekyll serve -w<\/code><\/li>\n<\/ul>\n<ol>\n<li>Go back to project root and build the docs<\/li>\n<\/ol>\n<ul>\n<li><code>gulp docs [--doc-version=(versionName|nightly)]<\/code><\/li>\n<\/ul>\n<ol>\n<li>Open localhost:4000 and see your changes! Re-run <code>gulp docs<\/code> again whenever you change something, and jekyll will update the site<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<h3>Demos \/ Kitchen Sink<\/h3>\n<ul>\n<li>The demo site is generated into <code>dist\/ionic-demo<\/code>. To test the demos, follow these steps:\n<ol>\n<li>Run <code>gulp demos [--demo-version=(versionName|nightly)]<\/code><\/li>\n<li>Start an http server from <code>dist\/ionic-demo<\/code>:<\/li>\n<\/ol>\n<ul>\n<li><code>cd dist\/ionic-demo &amp;&amp; python -m SimpleHTTPServer<\/code><\/li>\n<\/ul>\n<ol>\n<li>Navigate to <code>http:\/\/localhost:8000\/{versionName|nightly}<\/code> and use the demos<\/li>\n<li>Run <code>gulp demos<\/code> again whenever you change the demos<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<h3>Commit Conventions<\/h3>\n<ul>\n<li>Uses these commit conventions<\/li>\n<\/ul>\n<h3>Pushing New Release of Ionic<\/h3>\n<ul>\n<li>Almost all of the logic for releasing Ionic is done on the Travis server<\/li>\n<li>To push a new release:\n<ol>\n<li>Update package.json version to new version<\/li>\n<li>Generate changelog with <code>gulp changelog<\/code><\/li>\n<li>Go through the changelog, and fix any mistakes or clarify any unclear commit messages<\/li>\n<li>Commit package.json and CHANGELOG.md and push to master<\/li>\n<\/ol>\n<\/li>\n<li>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, \u2026)<\/li>\n<\/ul>\n<h2>LICENSE<\/h2>\n<p>Ionic is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The best place to start with Ionic is our documentation page. Ionic currently best supports iOS 7+ and Android 4.1+. Ionic is the open source HTML5 Mobile Framework for building amazing, cross-platform hybrid native apps with HTML, JavaScript, and CSS. We built Ionic because we wanted a framework that focused on building hybrid native apps, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7762","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7762"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7762\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}