-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoc.html
323 lines (270 loc) · 12.6 KB
/
doc.html
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
<!DOCTYPE html>
<html lang="en">
<head>
<!-- meta -->
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>:: Rajesh Personal questions ::</title>
<meta content="" name="keywords">
<meta content="" name="description">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Poppins:300,300i,400,400i,500,500i,600,600i,700,700i|Playfair+Display:400,400i,700,700i,900,900i" rel="stylesheet">
<!-- Bootstrap CSS File -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Libraries CSS Files -->
<link href="css/ionicons.min.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/owl.carousel.min.css" rel="stylesheet">
<link href="css/magnific-popup.css" rel="stylesheet">
<link href="css/hover.min.css" rel="stylesheet">
<!-- Main Stylesheet File -->
<link href="css/style.css" rel="stylesheet">
<!-- Responsive css -->
<link href="css/responsive.css" rel="stylesheet">
<!-- Favicon -->
<link rel="shortcut icon" href="images/favicon.png">
</head>
<body>
<!-- start section navbar -->
<nav id="main-nav">
<div class="row">
<div class="container">
<div class="logo">
<a href="index.html"><img src="images/logo1.png" alt="logo"></a>
</div>
<div class="responsive"><i data-icon="m" class="ion-navicon-round"></i></div>
<ul class="nav-menu list-unstyled">
<li><a href="all.html" class="smoothScroll">Html</a></li>
<li><a href="javascript.html" class="smoothScroll">Javascript</a></li>
<li><a href="jquery.html" class="smoothScroll">Jquery</a></li>
<li><a href="angular.html" class="smoothScroll">Angular</a></li>
<li><a href="doc.html" class="smoothScroll">DOC</a></li>
</ul>
</div>
</div>
</nav>
<!-- End section navbar -->
<!-- start section header -->
<div class="aglr">
<div class="container">
</div>
</div>
<!-- End section header -->
<!-- start section about us -->
<div id="about">
<div class="mn_n">
<div class="container">
<div class="row">
<div class="col-lg-6">
<h2>Angular Introduction Steps</h2><br/>
<h5 class="bl">Step 1 : Install the Angular CLI </h5>
<p>npm install @angular/cli (latest cli)<br/>
npm install @angular/[email protected]<br/>
npm install @angular/[email protected] </p>
<h5>* For installing particular vesrion we need to do like below</h5>
<p>first we need to create folder<br/>after that first create package.json file through command line<br/> <b>(npm init -y)</b><br/>then we need to install angular cli version locally like this<br/> <b>(npm install @angular/cli@6)</b><br/>
then before going to create new app we should delete package.json<br/>then create new app <b>(ng new demo)</b>
</p>
<h5>Step 2 : Create a workspace and initial application</h5>
<p>ng new projectname</p>
<h5>Step 3: Run the application</h5>
<p>ng serve<br/>
ng serve --host 0.0.0.0 --port 4201<br/>
ng serve --port 4201</p>
<h5>Step 4: Install Packages in Angular</h5>
<p>npm install --save @ng-bootstrap/ng-bootstrap<br/>
npm install jquery <br/>
npm install [email protected]<br/>
npm install popper.js<br/>
ng add @angular/material<br/>
npm install font-awesome --save<br/>
npm install --save ng5-slider (price slider)<br/>
npm install ngx-chips --save (autocomplete)</p>
<h5>** Step 5: Install app-routing in Angular5 only in angular6 it will come autometic</h5>
<p>ng generate module app-routing --flat --module=app</p>
<p><b>lazy routing commans here</b></p>
<p>ng g module modulename --routing</p>
<p>inside module we have to create component so for that command <br/>
ng g c modulename/componentname<br/>
Ex :<br/>
ng g c login(this is modulename)/login </p>
<h5>Step 5: Generate Service in Angular </h5>
<p>ng generate service [servicename]<br/>
ng g service auth<br/>
ng g service --spec=false<br/>
ng g s services/common (with folder)</p>
<h5>Step 6: Generate guard auth in Angular </h5>
<p>ng generate guard auth </p>
<h5>Step 7: Generate pipe in Angular</h5>
<p>ng generate pipe [pipename]</p>
<h5>Step 8: Generate ng build in Angular</h5>
<p>ng build --prod (upload to server) <br/>(or)**** <br/>ng build --prod --base-href / </p>
<p>after build it will create dist folder in that that project folder it will come after that that file need to upload to server</p>
<p>in that index.html page we need to give after build (/dist/) folder name </p>
<h5>how to add seo ?</h5>
<p>first we need to import mata and title like below which page we want that page if all page means all pages same below code apply to ts component</p>
<span><img src="images/seo.png" style="width:100%"></span>
<p>after adding all pages we need to run below commond</p>
<p><b>ng add @ng-toolkit/universal</b></p>
<p>after that run below command</p>
<p><b>npm run build:prod</b></p>
<p>if any errors come means we need to run </p>
<h5></h5>
<h5></h5>
<h5></h5>
<h5></h5>
<!--- github start here -->
<h2>Github Data Pusing and pulling</h2>
<h5></h5>
<p>First create file name ( New repository) then</p>
<p>take link http ........ and</p>
<p>git clone https://gitlab.com/gowthaman.d/hotel.git</p>
<p>git add . <br/>
git commit -m 'gfgf'<br/>
git push<br/>
git pull</p>
<h5></h5>
<!--- github start here -->
</div>
<div class="col-lg-6">
<h2>Gulp Sass installation and use</h2><br/>
<h5>Step 1 : install gulp global</h5>
<p> npm install gulp -g (this is globally install )</p>
<h5>step 2 : create project folder and in side </h5>
<p>we need to create manually</p>
<p>scssfolder</p>
<p> gulpfile.js</p>
<p>index.html</p>
<h5>step 3 : install gulp in our project folder </h5>
<p> npm install gulp --save-dev</p>
<h5>step 4 : create packgejson file</h5>
<p>npm init</p>
<h5>step 5 : install all package Dependencies</h5>
<p>npm install gulp-sass --save-dev <b>for sass</b></p>
<p>npm install browser-sync --save-dev <b>for for browsersync and watch</b></p>
<p>npm install --save gulp-uglifycss <b>for minifycss</b></p>
<p>npm install --save-dev gulp-minify <b>for minifyjs</b></p>
<p>npm install gulp-imagemin --save-dev <b>for Optimizing Images </b></p>
<h5>step 6 : .....</h5>
<p>......</p>
<p><a href="https://css-tricks.com/gulp-for-beginners/" target="_blank"><b>View more...</b></p>
<h2>Reactjs Introduction Steps</h2>
<h5></h5>
<h5>Step 1 : Create react App and start</h5>
<p>npx create-react-app my-app<br/>
cd my-app<br/>
npm start</p>
<h5>Step 2: Create Dom routing and time freme</h5>
<p><b>npm i react-router-dom</b><br/>after that import to app.js <br/> import {BrowserRouter as Router, Route, Switch} from 'react-router-dom';</p>
<p><b>npm i moment</b> (for time freme)</p>
<p><b>npm i axios</b><br/> (for client and for calling api)<br/>after that import to component <br/> import axios from 'axios';</p>
<p><b>npm i react-moment</b><br/>for date after that which page you want <br/>import Moment from 'react-moment';</p>
<h5>Step 3: Install Packages in Reactjs</h5>
<p>npm install --save @ng-bootstrap/ng-bootstrap<br/>
npm i bootstrap<br/>
npm i react-multi-carousel (slider )<br/>
npm i popper.js (for bootstrap js)<br/>
npm install jquery <br/>
npm install [email protected]<br/>
npm install font-awesome --save<br/>
npm i font-awesome<br/>
npm install [email protected]</p>
<h5></h5>
<p></p>
<h5></h5>
<p></p>
<h5></h5>
<p></p>
<h5></h5>
<p></p>
<h5></h5>
<p></p>
<h5></h5>
<p></p>
<h5></h5>
<p></p>
<h5></h5>
<p></p>
<h5></h5>
<p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- end section about us -->
<!-- start section footer -->
<div id="footer" class="text-center">
<div class="container">
<div id="loading" class="tecnologies">
<div class="container">
<img class="lazy" src="images/html5.png" data-original="images/html5.png" height="60">
<img class="lazy" src="images/css3.png" data-original="images/css3.png" height="60">
<img class="lazy" src="images/js5.png" data-original="images/js5.png" height="60">
<img class="lazy" src="images/sass.png" data-original="images/sass.png" height="60">
<img class="lazy" src="images/jquery.png" data-original="images/jquery.png" height="60">
<img class="lazy" src="images/angularjs.png" data-original="images/angularjs.png" height="60">
<img class="lazy" src="images/typescript.png" data-original="images/typescript.png" height="60">
<img class="lazy" src="images/react.png" data-original="images/react.png" height="60">
<img class="lazy" src="images/npm.png" data-original="images/npm.png" height="60">
<img class="lazy" src="images/bower.png" data-original="images/bower.png" height="60">
</div>
</div>
<ul class="list-inline">
<li class="email list-inline-item"><i class="fa fa-envelope" aria-hidden="true"></i> <a href="mailto:[email protected]" traget="_blank">[email protected]</a></li>
<li class="list-inline-item"><i class="fa fa-phone"></i> <a href="https://api.whatsapp.com/send?phone=9949598062" traget="_blank">+91 9949598062</a></li>
<li class="website list-inline-item"><i class="fa fa-github"></i> <a href="https://github.com/rajeshbyragoni" target="_blank">github.com/rajeshbyragoni</a></li>
</ul>
<div class="socials-media text-center">
<ul class="list-unstyled">
<li><a href="https://www.linkedin.com/in/rajesh-byragoni-94006670/" target="_blank"><i class="fa fa-linkedin"></i></a></li>
<li><a href="https://www.facebook.com/rajesh.goud.1401" target="_blank"><i class="fa fa-facebook"></i></a></li>
<li><a href="https://github.com/rajeshbyragoni" target="_blank"><i class="fa fa-github"></i></a></li>
<li><a href="mailto:[email protected]" target="_blank"><i class="fa fa-envelope"></i></a></li>
<li><a href="https://api.whatsapp.com/send?phone=9949598062" target="_blank"><i class="fa fa-whatsapp "></i></a></li>
</ul>
</div>
<p>© Copyrights Rajesh. All rights reserved.</p>
</div>
</div>
<!-- End section footer -->
<!-- JavaScript Libraries -->
<script src="js/jquery.min.js"></script>
<script src="js/jquery-migrate.min.js"></script>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/typed.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/magnific-popup.min.js"></script>
<script src="js/isotope.pkgd.min.js"></script>
<script src="js/jquery.easypiechart.min.js"></script>
<!-- Contact Form JavaScript File -->
<script src="contactform/contactform.js"></script>
<!-- Template Main Javascript File -->
<script src="js/main.js"></script>
<script src="js/skills.js"></script>
<script type="text/javascript">
$(document).ready(function () {
setTimeout(load, 3000);
function load() {
$("#loading").show();
$(window).load(function () {
$('#loading').fadeOut('slow');
});
}
});
</script>
<script>
$(document).ready(function () {
$(".basic").text(calculateExp('01/01/2015'));
$(".oneYear").text(calculateExp('01/25/2018'));
$(".twoYear").text(calculateExp('01/25/2017'));
$(".threeYear").text(calculateExp('01/25/2016'));
$(".twoHalf").text(calculateExp('06/25/2017'));
$(".oneHalfYear").text(calculateExp('01/25/2018'));
$(".halfYear").text(calculateExp('06/25/2018'));
});
</script>
</body>
</html>