<commit_before>---
layout:     post
title:      Getting started with Ionic Framework
date:       2015-09-12 22:00:00
summary:    Introduction to Ionic Framework
categories: ionic hybrid mobile
---

# Prerequisites


Following tools have to be installed in order to follow this guide.
- [npm](https://www.npmjs.com/) version 2.11.3
- [node](https://nodejs.org) version v0.12.7
- [Android SDK](https://developer.android.com/sdk/index.html) with API version 22

This guide aims to build a mobile app for the Android platform but will also provide instructions for iOS. iOS has another set of tools and SDK for building mobile apps which is not completely covered here.

# Install Ionic Framework via `npm`

[npm](https://www.npmjs.com/) is the pre-installed package manager for the [Node.js](https://en.wikipedia.org/wiki/Node.js) platform.

##### On Linux:
```bash
sudo npm install -g ionic
```

##### On Windows:
```bash
npm install -g ionic
```

# Install Cordova CLI

##### On Linux:
```bash
sudo npm install -g cordova
```

##### On Windows:
```cmd
npm install -g cordova
```
# Create a seed project:

```bash
ionic start ionic-getting-started
```

Answer `n` to the following question indicating that you'll skip ionic.io cloud integration. We want to keep it simple here, right?

```
Create an ionic.io account to send Push Notifications and use the Ionic View app?
(Y/n): n
```
This will create the seed project:

<!--
![Ionic seed project]({{ site.url }}/assets/Screenshot-2015-09-09.png)
-->
![Ionic seed project](../assets/Screenshot-2015-09-09.png)


# Running your app in browser
<commit_msg>fixes and intro for ionic post<commit_after>---
layout:     post
title:      Getting started with Ionic Framework
date:       2015-09-12 22:00:00
summary:    Introduction to Ionic Framework
categories: ionic hybrid mobile
---

This guide aims to give a brief introduction for [Ionic Framework](http://ionicframework.com/) for starters.

I would like to thank to [Prof. <NAME>](http://mimoza.marmara.edu.tr/~maeyler/) for his patience and contributions in this post.

# Prerequisites

Following tools have to be installed in order to follow this guide.
- [npm](https://www.npmjs.com/) version 2.11.3
- [node](https://nodejs.org) version v0.12.7
- [Android SDK](https://developer.android.com/sdk/index.html) with API version 22

This guide aims to build a mobile app for the Android platform but will also provide instructions for iOS. iOS has another set of tools and SDK for building mobile apps which is not completely covered here.

# Install Ionic Framework via `npm`

[npm](https://www.npmjs.com/) is the pre-installed package manager for the [Node.js](https://en.wikipedia.org/wiki/Node.js) platform.

##### On Linux:
```bash
sudo npm install -g ionic
```

##### On Windows:
```bash
npm install -g ionic
```

# Install Cordova CLI

##### On Linux:
```bash
sudo npm install -g cordova
```

##### On Windows:
```
npm install -g cordova
```
# Create a seed project:

```bash
ionic start ionic-getting-started
```

Answer `n` to the following question indicating that you'll skip ionic.io cloud integration. We want to keep it simple here, right?

```
Create an ionic.io account to send Push Notifications and use the Ionic View app?
(Y/n): n
```
This will create the seed project:

<!--
![Ionic seed project]({{ site.url }}/assets/Screenshot-2015-09-09.png)
-->
![Ionic seed project](../assets/Screenshot-2015-09-09.png)


# Running your app in browser

{'fraction_non_alphanumeric': 0.12756725484524153, 'fraction_numerical': 0.023141452126120916, 'mean_word_length': 3.884180790960452, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 10, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6886023', 'n_tokens_mistral': 1181, 'n_tokens_neox': 1007, 'n_words': 423}