My Blog

Cordova on Cloud

1-click AWS Deployment   1-click Azure Deployment 1-click Google Deployment

Overview

Apache Cordova is an open-source mobile development framework. It allows you to use standard web technologies – HTML5, CSS3, and JavaScript for cross-platform development. Applications execute within wrappers targeted to each platform, and rely on standards-compliant API bindings to access each device’s capabilities such as sensors, data, network status, etc.

Use Apache Cordova if you are:

  • a mobile developer and want to extend an application across more than one platform, without having to re-implement it with each platform’s language and tool set.
  • a web developer and want to deploy a web app that’s packaged for distribution in various app store portals.
  • a mobile developer interested in mixing native application components with a WebView (special browser window) that can access device-level APIs, or if you want to develop a plugin interface between native and WebView components.

Cordova is owned by Cordova (https://cordova.apache.org/) and they own all related trademarks and IP rights for this software.

Cordova on Cloud runs on Amazon Web Services (AWS) and Google Cloud Platform (GCP). Cognosys provides hardened images of Cordova on all public cloud i.e. AWS marketplace and Azure.

Features

Major Features of Cordova

  • Command Line Interface (Cordova CLI)This is the tool that can be used for starting the projects, building processes for different platforms, installing plugins and lot of other useful things that makes the development process easier. You will learn how to use in the next chapters.
  • Cordova Core ComponentsCordova offers set of core components that every mobile application needs. These components will be used for creating base of the app so we can spend more time to implement our own logic.
  • Cordova PluginsCordova offers API that will be used for implementing native mobile functions to our JavaScript app.
  • LicenceCordova is licensed under the Apache License, Version 2.0. Apache and the Apache feather logos are trademarks of The Apache Software Foundation.

AWS

Installation Instructions for Windows

Note: How to find PublicDNS in AWS

Step 1) RDP  Connection: To connect to the deployed instance, Please follow Instructions to Connect to Windows  instance on AWS Cloud

1) Connect to the virtual machine using following RDP credentials:

  • Hostname: PublicDNS  / IP of machine
  • Port : 3389

Username: To connect to the operating system, use RDP and the username is Administrator.
Password: Please Click here to know how to get password .

Step 2) Click the Windows “Start” button and select “All Programs” and then point to Cordova.

Step 3) Other Information:

1. Default installation path: will be in your root folder

“1.  jdk – C:\Program Files\Java\jdk1.8.0_111
2. nodejs – C:\Program Files\nodejs
3. android – C:\Program Files\Android\Android Studio
4. sdk – C:\Program Files (x86)\Android\android-sdk
5. ant – C:\ant

2.Default ports:

  • Windows Machines:  RDP Port – 3389
  • Http: 80
  • Https: 443

Configure custom inbound and outbound rules using this link

AWS Step by Step Screenshots

2

3

4

Azure Step By Step Screenshots

2

3

4

Google

Installation Instructions For Windows

Installation Instructions for Windows

Step 1) VM Creation:

  1. Click the Launch on Compute Engine button to choose the hardware and network settings.
  2. You can see at this page, an overview of Cognosys Image as well as estimated cost of running the instance.
  3. In the settings page, you can choose the number of CPUs and amount of RAM, the disk size and type etc.

Step 2) RDP Connection: To initialize the DB Server connect to the deployed instance, Please follow Instructions to Connect to Windows instance on Google Cloud

Step 2) Click the Windows “Start” button and select “All Programs” and then point to Cordova.

Step 3) Other Information:

1. Default installation path: will be in your root folder

“1.  jdk – C:\Program Files\Java\jdk1.8.0_111
2. nodejs – C:\Program Files\nodejs
3. android – C:\Program Files\Android\Android Studio
4. sdk – C:\Program Files (x86)\Android\android-sdk
5. ant – C:\ant

2.Default ports:

  • Windows Machines:  RDP Port – 3389
  • Http: 80
  • Https: 443

Configure custom inbound and outbound rules using this link

Videos

Cordova on Cloud

Related Posts