Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.

Updated README #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 11 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,27 @@
Ionic App Base
Ionic Cordova Camera Example
=====================

A starting project for Ionic that optionally supports
using custom SCSS.
An example of how to use the Cordova Camera API with Ionic

## Using this project

We recommend using the `ionic` utility to create new Ionic projects that are based on this project but use a ready-made starter template.
## Installation

For example, to start a new Ionic project with the default tabs interface, make sure the `ionic` utility is installed:
To use this project as is, first clone the repo from GitHub, then run:

```bash
$ sudo npm install -g ionic
$ cd ionic-example-cordova-camera
$ npm install
```

Then run:
To test on iOS you will need to [be part of the iOS developer program](https://developer.apple.com/programs/ios/). If you are, first run:

```bash
$ sudo npm install -g ionic
$ ionic start myProject tabs
$ ionic platform add ios
$ ionic build ios
```

More info on this can be found on the Ionic [Getting Started](http://ionicframework.com/getting-started) page.

## Installation

While we recommend using the `ionic` utility to create new Ionic projects, you can use this repo as a barebones starting point to your next Ionic app.

To use this project as is, first clone the repo from GitHub, then run:
You can then open XCode and select ````ionic-example-cordova-camera/platforms/ios```` as the project. In the upper left corner, select your iOS device and click the build button (play button) to build the app and deploy to your device for testing.

```bash
$ cd ionic-app-base
$ sudo npm install -g cordova ionic gulp
$ npm install
$ gulp init
```
**NB:** The camera functionality will only work on a real device, and not in an emulator or browser!

## Using Sass (optional)

Expand Down