Git Product home page Git Product logo

seemboy / generator-andy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from viewsforandroid/generator-andy

0.0 2.0 0.0 464 KB

Andy helps you to quickly create a well configured, well behaved Android application (and project libraries too!). It's the spiritual successor to Android KickstartR project but updated to the modern times!

Home Page: http://viewsforandroid.com/generator-andy/

License: MIT License

JavaScript 88.83% Java 11.17%

generator-andy's Introduction

Andy

Build Status Dependency Status devDependency Status

Introduction

NOTE: Currently Andy is in heavy development! It's not finished and stable by any means, so expect a lot of bugs and nasty things! You've been warned, pal!

Let's think about how we start a new Android project:

  1. Open Android Studio.
  2. Fill the fields (application name, package name…)
  3. Select what support libraries do you want.
  4. Wait 'till Android Studio indexes everything.
  5. Start editing build.gradle to add dependencies, then your custom deploy code and configurations (and scratch your head thinking why some things don't work as expected!)…
  6. Start coding!

Introducing… ANDY!

Andy helps you to quickly create a well configured, well behaved Android application (including support for Android TV, Android Wear, Glass and project libraries too!). It's the spiritual successor to Android KickstartR project but updated to the modern times!

With Andy you have de facto the following features:

  • It will download automatically all required SDKs and Support Libraries as necessary because it's configured to use the great SDK Manager Plugin written by the brave and the bold Jake Warthon!
  • It will create automatically all androidTest, debug and release directories! And… as it creates an androidTest directory, it includes Expresso by default!
  • It creates a version.properties file to update your app version easily!
  • It configures gradle to display a dialog (or password prompt) when signing your application (as Tim Rodes has described in this great post!).
  • It enables by default the gradle daemon to speed things up when compiling from terminal (Android Studio enables this by default).
  • It generates a properly .gitignore file.
  • More to come!

Andy is built using Yeoman, a fantastic tool for creating scaffolds for Web and whatever application you could imagine of!

Getting Started

Note: If you're planning to contribute refer to Installation for devs instead!

Installation

As Andy is a Yeoman plugin, it's mandatory to install first Yeoman if you didn't do it before:

$ npm install -g yo

Once the step before is finished, you can install Andy properly:

npm install -g generator-andy

Installation for Devs

As Andy is a Yeoman plugin, it's mandatory to install first Yeoman if you didn't do it before:

$ npm install -g yo

Clone this repository and cd into it:

$ git clone [email protected]:ViewsForAndroid/generator-andy.git && cd generator-andy

Link it:

$ npm link

Now you can use yo andy as usual!

Usage

Create a new directory where you want to put your application code and cd into it, then call Andy:

$ yo andy

Generators

By default Andy includes the following generators:

Mobile

Create a mobile application!

Finish this section!

Wear

Create a wear application!

Finish this section!

Glass

Create a glass application!

Finish this section!

Library

Create a library component!

Finish this section!

ToDo

There are a lot of things to do, but for now the most important ones are:

  • Finish current iteration for generating a complete application project.
  • Write the library generator and make it composable with the app generator.
  • Write properly tests!
  • Create new generators based on Android TV, Android Wear and Glass.

Contributions

Pull requests and issues are very welcome! Keep in mind that main development is done in the develop branch!

Acknowledgements

This project is partially inspired by the work done by Groupsky who started his own generator-android project.

Creator

Aldo Borrero González – [email protected]

License

Andy source code is released under the MIT License!

generator-andy's People

Watchers

James Cloos 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.