Giter Site home page Giter Site logo

puneetgkaur / cordova-lib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/cordova-lib

0.0 1.0 0.0 41.14 MB

Mirror of Apache Cordova

License: Apache License 2.0

JavaScript 44.78% CSS 1.47% HTML 1.51% Shell 2.81% Java 12.19% Objective-C 15.04% C 0.18% MATLAB 0.01% C# 2.75% Diff 0.10% C++ 19.16%

cordova-lib's Introduction

Instruction to setup the development environment

  1. install npm

  2. Git clone 3 repos : https://github.com/puneetgkaur/cordova-cli, https://github.com/puneetgkaur/cordova-lib, https://github.com/puneetgkaur/cordova-plugman into a directory

  3. Run the following commands:

     cd cordova-plugman
    
     npm install
    
     sudo npm link
    
     cd ..
    
     cd cordova-lib
    
     npm install
    
     sudo npm link
    
     cd ..
    
     cd cordova-cli
    
     npm install
    
     sudo npm link
    
     npm link ../cordova-lib/cordova-lib cordova-lib
    
     npm link ../cordova-plugman/ plugman
    

commands used to develop a sugar app using cordova

creating a project

cordova create "project directory" "project id" "project name"

this creates a cordova project in current dir"project directory" as you specify above. The project id and name of the project - that is the name of the sugar activity is set using the project name variable.

Add ths sugar platform to your project

cordova platform add sugar

After this, develop your sugar activity by modifying the project dir\www folder - place where the web app lies. Once the modification is through, build the project by following commands.

building the project

Normal build with no extra toolbox buttons

When you dont want to add any extra tool button then use the default option and issue the following command :

cordova build sugar

Adding extra toolbutton

If you have added extra toolbutton then compile your app using the following command :

cordova build sugar -- noiframe

Once you are succesfully build the project, you would find the .xo kept in project dir\platforms\sugar\cordova directory which you can copy and paste into sugar-build folder and run the command sugar-install-bundle "project name".xo

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.