Skip to content

Commit 9f90298

Browse files
committed
initial commit
1 parent 9b2d4ad commit 9f90298

File tree

2 files changed

+32
-14
lines changed

2 files changed

+32
-14
lines changed

README.md

+32-14
Original file line numberDiff line numberDiff line change
@@ -29,47 +29,65 @@ The full course is available from
2929
* cordova create ex1 com.instilllearning.cordova.ex1 ilHelloWorld
3030

3131
## Instructions
32-
This repository has only master branch containing all examples. You can clone the repository and go to individual example's root folder and run it.
33-
To run Ex1-Cordova-Clock-Display, use below command:
34-
```
35-
$ git clone https://github.com/progaurab/apache-cordova-training
36-
$ cd apache-cordova-training
32+
This repository has only master branch containing all examples. You can fork, star and clone the repository and go to individual example's root folder and run it.
33+
34+
#### Step 1: Go to https://github.com and login with your email.
35+
#### Step 2: Go to the Apache Cordova Repository: https://github.com/progaurab/apache-cordova-training-instilllearning
36+
#### Step 3: Click on 1) Watch - All Activity 2) Star 3) Fork the repository (See instruction below)
37+
![Fork the Repo](images/fork-repo.png)
38+
39+
#### Step 4:
40+
```javascript
41+
$ git clone https://github.com/progaurab/apache-cordova-training-instilllearning.git
42+
$ cd apache-cordova-training-instilllearning
3743
$ cd Ex1-Cordova-Clock-Display
38-
$ cordova platform add android
39-
$ cordova run android
44+
```
45+
#### Step 5: To install Cordova (ignore if installed already)
46+
```javascript
47+
$ npm install -g cordova
48+
```
49+
#### Step 6:
50+
```javascript
51+
$ cordova platform add browser
52+
$ cordova run browser
4053
```
4154
## Other usefull commands
42-
Modify Code and Distribute to all platform
55+
##### Add other platform
56+
```
57+
$ cordova platform add android
58+
$ cordova platform add ios
59+
```
60+
##### Modify Code and Distribute to all platform
4361
```
4462
$ cordova prepare
4563
```
4664

47-
Check the cordova requirements
65+
##### Check the cordova requirements
4866
```
4967
$ cordova requirements
5068
```
5169

52-
Ganerate Android APK
70+
##### Ganerate Android APK
5371
```
5472
$ cordova build android
5573
```
5674

57-
xcode - Installing the Requirements (for Mac)
75+
##### xcode - Installing the Requirements (for Mac)
5876
```
5977
$ xcode-select --install
6078
```
6179

62-
Deployment Tools allow you to launch iOS apps on an iOS Device from the command-line.
80+
##### Deployment Tools allow you to launch iOS apps on an iOS Device from the command-line.
6381
```
6482
$ brew install ios-deploy
6583
```
6684

67-
CocoaPods tools is needed to build iOS apps.
85+
##### CocoaPods tools is needed to build iOS apps.
6886
```
6987
$ sudo gem install cocoapods
7088
```
7189

72-
Deploying to Simulator - Open ios project in XCode
90+
##### Deploying to Simulator - Open ios project in XCode
7391
open ./platforms/ios/ProjectName.xcworkspace/
7492
for example,
7593
```

images/fork-repo.png

76.5 KB
Loading

0 commit comments

Comments
 (0)