-
Notifications
You must be signed in to change notification settings - Fork 0
/
HareKrishna.txt
80 lines (55 loc) · 2.91 KB
/
HareKrishna.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Hare Krishna Hare Krishna Krishna Krishna Hare Hare
Hare Rama Hare Rama Rama Rama Hare Hare
Steps followed :
1. Created new repository on Github with name as "GitaDaily"
2. Fired command "git init"
3. Created directory GitaDaily on local machine and addred HareKrishna.txt into it
3. Started Git Bash and selected location as /f to select f: f drive on my laptop
4. Fired command cd /f/code/GitaDaily
5. Fired command "git add HareKrishna.txt"
6. Fired command
git commit -m "first commit"
This required me to set my identity which was done using below command.
git config --global user.email "[email protected]"
7. Fired command
git commit -m "first commit"
8. Fired command
git remote add origin https://github.com/vinayakshukre/GitaDaily.git
9. Fired command
git push -u origin master
It asked me my username and password for github.com
10. Did further changes into HareKrishna.txt file and again fired command "git add HareKrishna.txt" followed by "git commit..." and "git push"
11. Created empty phonegap project with name as GitaDaily. Phonegap version 5.3.6 was used. Following command was used.
phonegap create . "com.gitadaily" "GitaDaily"
(This was manually copied into checked out GitaDaily git directory. Phonegap does not allow to create project in non-empty directory so this trick was used.)
12. Below command was used to generate keystore
F:\code2\distributionUsingCloud>keytool -genkey -v -keystore GitaDaily.keystore
-alias GitaDaily -keyalg RSA -keysize 2048 -validity 10000
Enter keystore password:
Re-enter new password:
What is your first and last name?
[Unknown]: Vinayak Shukre
What is the name of your organizational unit?
[Unknown]: Iskcon Pune
What is the name of your organization?
[Unknown]: Iskcon
What is the name of your City or Locality?
[Unknown]: Pune NVCC
What is the name of your State or Province?
[Unknown]: Maharashtra
What is the two-letter country code for this unit?
[Unknown]: IN
Is CN=Vinayak Shukre, OU=Iskcon Pune, O=Iskcon, L=Pune NVCC, ST=Maharashtra, C=I
N correct?
[no]: yes
Password was emailed to Toshan Nimai Das Prabhu
13. Go to https://build.phonegap.com/apps and login with Adobe username/password.
14. Specify url of github location and build the app.
15. Upload the keystore file generated in above step on cloud and specify keystore and key password.
16. Build and app and download the apk file.
17. Another way to compile the app and immediately test the changes is given below
a. Executed F:\code2\GitaDaily>cordova platform add android
This added android directory under earlier empty platforms directory.
b. Executed F:\code2\GitaDaily>phonegap run android to launch android emulator.
Make changes into the code and fire the same command to re-launch the application in emulator.
18. F:\code2\GitaDaily\www\res\icon\android contains the app launcher icons.