Giter VIP home page Giter VIP logo

ionic-starter's Introduction

Ionic Starter

Dependency Status devDependency Status

This project aims to let you start a new app as fast as possible.

Just clone it and you are ready to do ! Many boilerplate code is already written and most usefull libs are included. I'm trying to follow best practices with Angular & Ionic so it could be a good kick start :)

Feel free to open an issue for any question or suggestion you could have.

This application (mostly) follows the John Papa's style guide.

Getting started

  • install nodejs, npm, gulp, bower, cordova, ionic & sass (if not already done)
  • git clone [email protected]:loicknuchel/ionic-starter.git : clone this repo
  • cd ionic-starter : go to folder
  • bower install : install app dependencies
  • npm install : install build dependencies
  • ionic setup sass : use sass
  • ionic serve : start the app on your browser

For the impatients, you can run all these commands in one time : git clone [email protected]:loicknuchel/ionic-starter.git && cd ionic-starter && bower install && npm install && ionic setup sass && ionic serve

To run the app on your android device :

  • ionic platform add android : add android platform to the project
  • ionic resources : generate icon & splash-screen for project platforms
  • ionic run android : run your app !

Once again, in one command : ionic platform add android && ionic resources && ionic run android

Main features

Personnalize

As it's only a template project, you may want to change its name. For that, you just have to open :

  • config.xml (widget id, name, description & author)
  • www/index.html (title)
  • bower.json (name, homepage, author & description)
  • package.json (name & description)
  • ionic.project (name)

Used versions

  • Node v0.10.26 (node -v)
  • Cordova 4.2.0 (cordova -version)
  • Bower 1.3.12 (bower -v)
  • Angular 1.3.13 (see bower.json)
  • Ionic 1.0.0-rc.5 (see bower.json)

TODO

Infos

Browser development

Android debug

Specific urls

Use these custom urls to open other apps using inappbrowser (org.apache.cordova.inappbrowser)

  • "tel:0123456789" => call this number
  • "sms:0123456789?body=coucou" => send sms to this number
  • "geo:lat,lon" => open google map to this geoloc
  • "mailto:[email protected]" => send an email
  • "market:???"

see http://stackoverflow.com/questions/26271313/tel-sms-and-mailto-no-longer-working-in-android-after-upgrading-to-cordo

Other links

ionic-starter's People

Contributors

loicknuchel avatar mrbarletta avatar vincentv avatar yrezgui avatar

Watchers

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.