GithubHelp home page GithubHelp logo

peteonrails / ember-cli-cordova Goto Github PK

View Code? Open in Web Editor NEW

This project forked from poetic/ember-cli-cordova

0.0 2.0 0.0 1.31 MB

A tool for creating hybrid apps using a combination of ember-cli and cordova

License: MIT License

JavaScript 95.17% HTML 4.34% CSS 0.49%

ember-cli-cordova's Introduction

ember-cli-cordova Build Status Gitter

I will not be focusing on backward compatibility with older ember-cli versions as it's moving too fast and the API is constantly changing. I will always have this working with the latest stable release of ember-cli.

Goals

To provide a toolchain tightly integrated with ember-cli to make developing hybrid apps with cordova and ember as simple as possible.

Supported Platforms

Android and iOS. While we don't plan on actively supporting other platforms, feel free to open an issue or submit a pull request.

Required Ember Versions

Releases as of 0.1.0 require Ember 2.x and ember-cli 2.3.0.

The lastest release for Ember 1.x is 0.0.19 and requires at least ember-cli >= 0.1.1

Getting Started

Please see our Getting Started guide here

Blueprints

  • ember g cordova-init com.reverse.domain --platform=android Required generator that sets up the cordova project with a few tweaks to the ember app
  • (optional) ember g cordova-starter-kit Adds some packages and files that makes up the base setup for projects I develop.

Commands

  • ember cordova:open open xcode project
  • ember cordova:build --environment=production --platform=ios build cordova project
  • ember cordova:archive 0.0.2 --environment=staging --commit --tag archive ios project with xcode
  • ember cordova:prepare needs to be run after cloning a project
  • ember cordova Passes commands(plugin(s), platform(s), run, emulate) and arguments to the cordova command
  • ember help ember cli help with a section for addon provided commands as well

Docs

Documentation can be found found in the docs directory here.

ember-cordova

ember-cordova recently started as a fork of ember-cli-cordova by some contributors and maintainers. It only supports Ember 2, and includes added features such as build hooks, native splash screen & icon management, a platform service (e.g. isIOS) and an ember/cordova plugin ecosystem.

ember-cli-cordova will still be maintained and active.

It does not include features such as mobiletouch by default, starter blueprints and support for Ember <2. For these items, your best bet is to continue with ember-cli-cordova.

Dependency Docs

Contributing

Working with master

git clone https://github.com/poetic/ember-cli-cordova.git
cd ember-cli-cordova
npm i && bower i
npm link
ember new CordovaTest
cd CordovaTest
npm install --save-dev ember-cli-cordova
npm link ember-cli-cordova

After this, any changes you make to the cloned repo will be instantly reflected in the test app you generated. It just symlinks the node_modules folder.

Example App

You can find an example app using this here: jakecraige/ember-cli-cordova-example-app

Credits

ember-cli ember

ember-cli-cordova's People

Contributors

alexblom avatar andressrg avatar anulman avatar benjaminedwardparker avatar billybonks avatar bryanh avatar danielochoa avatar deepflame avatar dukex avatar greis avatar huafu avatar jakecraige avatar jbrown avatar jcowley avatar jhilden avatar jwade34 avatar kiwiupover avatar machty avatar matthewford avatar osxi avatar runspired avatar schmooie avatar spruce avatar zigomir avatar

Watchers

 avatar  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.