-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathftp.html
More file actions
304 lines (250 loc) · 12.4 KB
/
ftp.html
File metadata and controls
304 lines (250 loc) · 12.4 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="./assets/img/favicon.ico">
<title>FTP deployment</title> <script type="module" crossorigin src="./js/app.min.js?v=1774807247396"></script>
<link rel="stylesheet" crossorigin href="./css/app.min.css?v=1774807247396">
</head>
<body>
<div class="wrapper">
<header class="header" data-anim-header="" data-anim-header-scroll="">
<div class="header__container">
<nav class="menu__body">
<a class="menu__logo" href="/docs/index.html">
<img src="./assets/img/logo.jpg" aria-label="Animmaster Logo" width="50" height="50">
</a>
<ul class="menu__list">
<li class="menu__item">
<a class="menu__link" href="/docs/index.html">Documentation</a>
</li>
<li class="menu__item">
<a class="menu__link menu__link--special" target="_blank" href="https://www.patreon.com/collection/1946808?view=condensed">Animmaster PRO Pack</a>
</li>
</ul>
</nav>
</div>
</header>
<main class="page">
<div data-anim-ftpdoc="" class="doc">
<section class="doc-page box-padding">
<div class="doc-page__container">
<!-- ========================================================= -->
<!-- Top -->
<!-- ========================================================= -->
<div class="doc-top">
<a class="doc-top__back" href="/docs/index.html">← Back to Documentation</a>
</div>
<!-- ========================================================= -->
<!-- Hero -->
<!-- ========================================================= -->
<div class="doc-hero" id="top">
<p class="doc-hero__kicker">Documentation</p>
<h1 class="doc-hero__title">
FTP deployment
<span class="doc-hero__title-sub">
Upload the build directly to your server
</span>
</h1>
<p class="doc-hero__lead">
In <strong>Animmaster Vite Template</strong> you can automatically
build your project and upload the final <code>dist</code> folder
to a hosting server using FTP.
</p>
<div class="doc-actions">
<a class="doc-btn doc-btn--primary doc-btn--pulse" href="https://www.patreon.com/collection/1946808?view=condensed" target="_blank" rel="noreferrer">
<span class="doc-btn__text doc-btn__text--default">
Download <span>Animmaster</span> Vite Template
</span>
<span class="doc-btn__text doc-btn__text--hover">
Save your time — start now
</span>
</a>
</div>
<p class="doc-micro">
Production build • FTP upload • One command workflow
</p>
</div>
<div class="doc-layout">
<article class="doc-content">
<!-- ========================================================= -->
<!-- 1) Overview -->
<!-- ========================================================= -->
<section class="doc-section" id="about" data-anim-watcher="navigator">
<h2 class="doc-h2">What is FTP deployment?</h2>
<p class="doc-p">
Animmaster Vite Template includes a built-in FTP deployment feature that allows you to
upload the production-ready project (<code>dist</code> folder)
directly to a remote server or hosting.
</p>
<p class="doc-p">
This is useful when:
</p>
<ul class="doc-list">
<li class="doc-list__item">you deploy static sites to shared hosting</li>
<li class="doc-list__item">the server does not support Git</li>
<li class="doc-list__item">you want a fast one-command upload</li>
</ul>
</section>
<!-- ========================================================= -->
<!-- 2) FTP configuration -->
<!-- ========================================================= -->
<section class="doc-section" id="config" data-anim-watcher="navigator">
<h2 class="doc-h2">FTP configuration</h2>
<p class="doc-p">
All FTP settings are configured in <code>template.config.js</code>
inside the <code>ftp</code> section.
</p>
<div class="codeblock" data-codeblock="">
<div class="codeblock__top">
<div class="codeblock__file">template.config.js</div>
<button class="codeblock__copy" type="button" data-copy="">Copy</button>
</div>
<pre class="codeblock__pre"><code class="codeblock__code">
ftp: {
host: "ftp.your-host.com",
port: 21,
remoteDir: "/public_html/%projectName%",
user: "ftp-user",
password: "ftp-password"
}</code></pre>
</div>
<ul class="doc-list">
<li class="doc-list__item"><code>host</code> — FTP server hostname</li>
<li class="doc-list__item"><code>port</code> — FTP port (usually 21)</li>
<li class="doc-list__item">
<code>remoteDir</code> — destination folder on the server.
You can use <code>%projectName%</code> to automatically insert
the project folder name.
</li>
<li class="doc-list__item"><code>user</code> — FTP username</li>
<li class="doc-list__item"><code>password</code> — FTP password</li>
</ul>
<div class="doc-callout doc-callout--warn">
<div class="doc-callout__title">Security note</div>
<div class="doc-callout__text">
Avoid committing real FTP credentials to public repositories.
Use environment variables whenever possible.
</div>
</div>
</section>
<!-- ========================================================= -->
<!-- 3) Deploy command -->
<!-- ========================================================= -->
<section class="doc-section" id="command" data-anim-watcher="navigator">
<h2 class="doc-h2">Deploy command</h2>
<p class="doc-p">
After configuring FTP access, run the following command:
</p>
<div class="codeblock" data-codeblock="">
<div class="codeblock__top">
<div class="codeblock__file">Terminal</div>
<button class="codeblock__copy" type="button" data-copy="">Copy</button>
</div>
<pre class="codeblock__pre"><code class="codeblock__code">npm run deploy</code></pre>
</div>
<p class="doc-p">
This command automatically:
</p>
<ul class="doc-list">
<li class="doc-list__item">runs a production build</li>
<li class="doc-list__item">creates or updates the <code>dist</code> folder</li>
<li class="doc-list__item">uploads all files to the FTP server</li>
</ul>
</section>
<!-- ========================================================= -->
<!-- 4) Notes -->
<!-- ========================================================= -->
<section class="doc-section" id="notes" data-anim-watcher="navigator">
<h2 class="doc-h2">Notes & recommendations</h2>
<div class="doc-callout">
<div class="doc-callout__title">Connection stability</div>
<div class="doc-callout__text">
Make sure your FTP connection is stable during deployment to
avoid partially uploaded builds.
</div>
</div>
<div class="doc-callout">
<div class="doc-callout__title">Production only</div>
<div class="doc-callout__text">
FTP deployment always works in production mode and uploads
only optimized files.
</div>
</div>
</section>
<!-- ========================================================= -->
<!-- Download -->
<!-- ========================================================= -->
<section class="doc-section" id="download" data-anim-watcher="navigator">
<h2 class="doc-h2">Download</h2>
<p class="doc-p doc-p--margin-b">
FTP deployment is fully integrated into the Animmaster Vite Template workflow.
Download the template and automate your hosting uploads today.
</p>
<div class="doc-actions">
<a class="doc-btn doc-btn--primary doc-btn--pulse" href="https://www.patreon.com/collection/1946808?view=condensed" target="_blank" rel="noreferrer">
<span class="doc-btn__text doc-btn__text--default">
Download <span>Animmaster</span> Vite Template
</span>
<span class="doc-btn__text doc-btn__text--hover">
Save your time — start now
</span>
</a>
</div>
</section>
<div class="doc-divider"></div>
<!-- ========================================================= -->
<!-- Next -->
<!-- ========================================================= -->
<nav class="doc-next">
<a class="doc-next__link" href="/docs/adaptvalue.html">
Next: Responsive adaptive property
<span class="doc-next__arrow">→</span>
</a>
</nav>
</article>
<!-- ========================================================= -->
<!-- TOC -->
<!-- ========================================================= -->
<aside class="doc-toc" aria-label="On this page">
<div class="doc-toc__box">
<div class="doc-toc__title">On this page</div>
<ol class="doc-toc__list">
<li><a class="doc-toc__link" href="#" data-anim-scrollto-header="" data-anim-scrollto="#about">Overview</a></li>
<li><a class="doc-toc__link" href="#" data-anim-scrollto-header="" data-anim-scrollto="#config">Configuration</a></li>
<li><a class="doc-toc__link" href="#" data-anim-scrollto-header="" data-anim-scrollto="#command">Deploy command</a></li>
<li><a class="doc-toc__link" href="#" data-anim-scrollto-header="" data-anim-scrollto="#notes">Notes</a></li>
<li><a class="doc-toc__link" href="#" data-anim-scrollto-header="" data-anim-scrollto="#download">Download</a></li>
</ol>
</div>
</aside>
</div>
</div>
</section>
</div>
</main>
<footer class="footer" data-anim-footer="">
<div class="footer__container">
<!-- BOTTOM -->
<div class="footer__bottom">
<p class="footer__copy">© 2026 Animmaster</p>
<div class="footer__bug">
<span>Found bug?</span>
<a href="mailto:animmasterstudio@gmail.com">
Report it
</a>
</div>
<div class="footer__author">
Crafted with <span>🤍</span> by
<a target="_blank" href="https://www.instagram.com/animmaster_studio?igsh=MXN0MXkycGxrbDlpag==">
Animmaster
</a>
</div>
</div>
</div>
</footer>
</div>
</body>
</html>