-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeployment.html
248 lines (206 loc) · 11.4 KB
/
deployment.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Deployment | Learning</title>
<meta name="author" content="MERN.JS Community">
<meta name="Description"
content="Deploying your application is the process of compiling, or building, your code and how to deploy your application.">
<meta name="keywords"
content="MERN.JS, MERN.JS JavaScript Framework, MERN.JS MVC Framework, MERN.JS NodeJs Framework, MERN.JS Full Stack Development, Node Express Boilerplate, Node Express Generator, React Redux Generator, React Redux Boilerplate, MERN.JS Framework for Node" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@mernjs">
<meta name="twitter:creator" content="@mernjs">
<meta name="twitter:title" content="Deployment | MERN.JS Super Simple Boilerplate">
<meta name="twitter:description"
content="Deploying your application is the process of compiling, or building, your code and how to deploy your application.">
<meta name="twitter:image" content="/learning/assets/images/logo.png">
<meta property="og:title" content="Deployment | MERN.JS Super Simple Boilerplate">
<meta property="og:description"
content="Deploying your application is the process of compiling, or building, your code and how to deploy your application.">
<meta property="og:image" content="/learning/assets/images/logo.png">
<meta property="og:url" content="https://www.mernjs.org">
<link
href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800'
rel='stylesheet' type='text/css'>
<link rel="canonical" href="https://www.mernjs.org">
<link rel="shortcut icon" href="/learning/assets/favicon.ico">
<link rel="stylesheet" href="/learning/assets/plugins/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/learning/assets/plugins/prism/prism.css">
<link rel="stylesheet" href="/learning/assets/css/styles.css" id="theme-style">
<script defer src="https://use.fontawesome.com/releases/v5.8.2/js/all.js"
integrity="sha384-DJ25uNYET2XCl5ZF++U8eNxPWqcKohUUBUpKGlNLMchM7q4Wjg2CUpjHLaL8yYPH"
crossorigin="anonymous"></script>
<style>
.code-block {
margin-top: 30px;
margin-bottom: 30px;
margin: 0 auto;
}
.vactive {
color: black;
}
.doc-section .section-pragraph {
line-height: 2;
font-size: 20px;
margin-top: 0;
margin-bottom: 1rem;
border-bottom: 1px solid #d7d6d6;
}
</style>
<!-- Google Tag Manager -->
<script>(function (w, d, s, l, i) {
w[l] = w[l] || []; w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
}); var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-5VWSFH8');</script>
<!-- End Google Tag Manager -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-145438763-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-145438763-2');
</script>
</head>
<body class="body-pink">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5VWSFH8" height="0" width="0"
style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div class="page-wrapper">
<header id="header" class="header" style="margin-bottom: 30px">
<link rel="stylesheet" href="/learning/assets/css/navbar.css">
<nav class="navbar fixed-top navbar-expand-lg custom-navbar navbar-dark">
<a class="navbar-toggler navbar-toggler-right custom-toggler" data-toggle="collapse"
data-target="#collapsibleNavbar">
<span style="color: gray;" class="fa fa-bars"></span>
</a>
<h3 class="navbar-brand"><a style="margin-left: 9px;" href="/learning"><b>Learning</b></a></h3>
<div class="collapse navbar-collapse mr-right" id="collapsibleNavbar">
<ul class="navbar-nav ml-auto ">
<li class="nav-item">
<a class="nav-link" target="_blank" href="https://github.com/mernjs/learning"><b>Sample
Apps</b></a>
</li>
</ul>
</div>
</nav>
</header>
<div class="doc-wrapper">
<div class="container">
<div class="doc-body row">
<div class="doc-content col-md-10 col-12 order-1">
<div class="content-inner">
<div id="doc-header" class="doc-header text-center">
<h6 class="doc-title"> Deployment </h6>
</div>
<section class="doc-section" style="margin-bottom: 20px;">
<div style="float: left;">
<a href="/learning">
<< Previous Page </a>
</div>
<div style="float: right;">
<a href="javascript:void(0)" style="color: gray;"> Next Page >> </a>
</div>
</section>
<section id="introduction-section" class="doc-section">
<h2 class="section-title">Introduction</h2>
<div class="section-block">
<p>Deploying your application is the process of compiling, or building, your code
and how to deploy your application.</p>
</div>
<h6 class="section-title">React Native (Android) Deployment</h6>
<div class="callout-block callout-success">
<div class="icon-holder">
<i class="fas fa-thumbs-up"></i>
</div>
<!--//icon-holder-->
<div class="content">
<h4 class="callout-title">Publishing to Google Play Store:</h4>
<p>Go over the official documentation of <a
href="https://reactnative.dev/docs/signed-apk-android"
target="_blank">React Native</a> to generate your
signed apk.</p>
</div>
<!--//content-->
</div>
<br />
<h6 class="section-title">ReactJs Deployment</h6>
<div id="init" class="section-block">
<p class="section-pragraph">Bundles the app for production</p>
<div class="code-block">
<pre><code class="language-git">mernjs build</code></pre>
</div>
</div>
<br />
<h6 class="section-title">NodeJs Deployment</h6>
<div id="init" class="section-block">
<p class="section-pragraph">Bundles the app for production</p>
<div class="code-block">
<pre><code class="language-git">mernjs build</code></pre>
</div>
</div>
<div id="init" class="section-block">
<p class="section-pragraph">Your scripts run continuously</p>
<div class="code-block">
<pre><code class="language-git">mernjs service start</code></pre>
</div>
</div>
</section>
</div>
<!--//content-inner-->
</div>
<div class="doc-sidebar col-md-2 col-12 order-0 d-none d-md-flex">
<div id="doc-nav" class="doc-nav">
<nav class="nav doc-menu flex-column sticky">
<a class="nav-link" href="#examples-section">Learning</a>
<nav class="doc-sub-menu nav flex-column">
<a class="nav-link" href="/learning">Installation</a>
<a class="nav-link active" href="/learning/deployment.html">Deployment</a>
</nav>
</nav>
</div>
</div>
</div>
<!--//doc-body row-->
</div>
<!--//container-->
</div>
<!--//doc-wrapper-->
</div>
<!--//page-wrapper-->
<div class="container-fuild" style="margin-top: 5px; margin-right: 50px">
<div class="row" style="display: block">
<legend></legend>
<p style="text-align: center;"><b>Copyright © 2024 Learning.</b></p>
</div>
</div>
<!--Start of Tawk.to Script-->
<script type="text/javascript">
var Tawk_API = Tawk_API || {}, Tawk_LoadStart = new Date();
(function () {
var s1 = document.createElement("script"), s0 = document.getElementsByTagName("script")[0];
s1.async = true;
s1.src = 'https://embed.tawk.to/600c5cbba9a34e36b96f905e/1eso4ml15';
s1.charset = 'UTF-8';
s1.setAttribute('crossorigin', '*');
s0.parentNode.insertBefore(s1, s0);
})();
</script>
<!--End of Tawk.to Script-->
<!-- Main Javascript -->
<script type="text/javascript" src="/learning/assets/plugins/jquery/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/learning/assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/learning/assets/plugins/prism/prism.js"></script>
<script type="text/javascript" src="/learning/assets/plugins/jquery-scrollTo/jquery.scrollTo.min.js"></script>
<script type="text/javascript" src="/learning/assets/plugins/stickyfill/dist/stickyfill.min.js"></script>
<script type="text/javascript" src="/learning/assets/js/main.js"></script>
</body>
</html>