forked from stackblitz/tutorialkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDEPLOY_NOW.html
More file actions
371 lines (326 loc) · 11.6 KB
/
DEPLOY_NOW.html
File metadata and controls
371 lines (326 loc) · 11.6 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
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
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Deploy TutorialKit - One Click Setup</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.container {
background: white;
border-radius: 20px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
max-width: 800px;
width: 100%;
padding: 50px;
text-align: center;
}
h1 {
font-size: 2.5rem;
color: #333;
margin-bottom: 10px;
}
.subtitle {
font-size: 1.2rem;
color: #666;
margin-bottom: 40px;
}
.status {
background: #f0f9ff;
border: 2px solid #0ea5e9;
border-radius: 10px;
padding: 20px;
margin-bottom: 30px;
}
.status h2 {
color: #0369a1;
margin-bottom: 10px;
}
.status p {
color: #075985;
line-height: 1.6;
}
.deploy-button {
display: inline-block;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
font-size: 1.3rem;
font-weight: bold;
padding: 20px 50px;
border-radius: 50px;
text-decoration: none;
transition: transform 0.2s, box-shadow 0.2s;
box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
margin: 10px;
}
.deploy-button:hover {
transform: translateY(-3px);
box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}
.deploy-button.secondary {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
}
.deploy-button.secondary:hover {
box-shadow: 0 15px 40px rgba(245, 87, 108, 0.6);
}
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin: 40px 0;
text-align: left;
}
.feature {
background: #f8fafc;
padding: 20px;
border-radius: 10px;
border-left: 4px solid #667eea;
}
.feature h3 {
color: #333;
margin-bottom: 10px;
font-size: 1.1rem;
}
.feature p {
color: #666;
font-size: 0.9rem;
line-height: 1.5;
}
.steps {
background: #fef3c7;
border: 2px solid #f59e0b;
border-radius: 10px;
padding: 30px;
margin: 30px 0;
text-align: left;
}
.steps h2 {
color: #92400e;
margin-bottom: 20px;
text-align: center;
}
.step {
display: flex;
align-items: start;
margin-bottom: 15px;
}
.step-number {
background: #f59e0b;
color: white;
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
margin-right: 15px;
flex-shrink: 0;
}
.step-content {
color: #78350f;
line-height: 1.6;
}
.emoji {
font-size: 3rem;
margin-bottom: 20px;
}
.info-box {
background: #ecfdf5;
border: 2px solid #10b981;
border-radius: 10px;
padding: 20px;
margin: 20px 0;
}
.info-box h3 {
color: #065f46;
margin-bottom: 10px;
}
.info-box p {
color: #047857;
line-height: 1.6;
}
.code-box {
background: #1e293b;
color: #e2e8f0;
padding: 20px;
border-radius: 10px;
text-align: left;
font-family: 'Courier New', monospace;
margin: 20px 0;
overflow-x: auto;
}
.code-box code {
color: #22d3ee;
}
@media (max-width: 768px) {
.container {
padding: 30px 20px;
}
h1 {
font-size: 2rem;
}
.deploy-button {
font-size: 1.1rem;
padding: 15px 30px;
}
}
</style>
</head>
<body>
<div class="container">
<div class="emoji">🚀</div>
<h1>Deploy TutorialKit</h1>
<p class="subtitle">Your Interactive Coding Platform - Ready in 2 Minutes</p>
<div class="status">
<h2>✅ Configuration Complete</h2>
<p>
Your repository is 100% production-ready with WebContainer API support,
security headers, CI/CD pipeline, and comprehensive documentation.
</p>
</div>
<a href="https://vercel.com/new/clone?repository-url=https://github.com/christophernemala/tutorialkit&project-name=tutorialkit&repository-name=tutorialkit"
class="deploy-button"
target="_blank">
🚀 Deploy to Vercel Now
</a>
<a href="https://github.com/christophernemala/tutorialkit"
class="deploy-button secondary"
target="_blank">
📂 View Repository
</a>
<div class="features">
<div class="feature">
<h3>⚡ Zero Setup</h3>
<p>Click deploy and you're live. No configuration needed.</p>
</div>
<div class="feature">
<h3>💰 Free Hosting</h3>
<p>Runs on Vercel's free tier. No credit card required.</p>
</div>
<div class="feature">
<h3>🔒 Secure</h3>
<p>HTTPS, CORS, and WebContainer isolation built-in.</p>
</div>
<div class="feature">
<h3>🌍 Global CDN</h3>
<p>Fast loading worldwide with edge network.</p>
</div>
</div>
<div class="steps">
<h2>📋 What Happens Next</h2>
<div class="step">
<div class="step-number">1</div>
<div class="step-content">
<strong>Click "Deploy to Vercel Now"</strong><br>
Opens Vercel deployment page
</div>
</div>
<div class="step">
<div class="step-number">2</div>
<div class="step-content">
<strong>Sign in to Vercel</strong><br>
Use GitHub, GitLab, or email (free account)
</div>
</div>
<div class="step">
<div class="step-number">3</div>
<div class="step-content">
<strong>Click "Deploy"</strong><br>
Vercel automatically builds and deploys
</div>
</div>
<div class="step">
<div class="step-number">4</div>
<div class="step-content">
<strong>Get Your Live URL</strong><br>
Your platform is live at https://tutorialkit-xyz.vercel.app
</div>
</div>
</div>
<div class="info-box">
<h3>🎯 What You Get</h3>
<p>
<strong>Live Interactive Platform:</strong> Create coding tutorials with live editor,
terminal, and preview - all running in the browser.<br><br>
<strong>WebContainer API:</strong> Run Node.js, npm, and full development environment
in the browser without any backend.<br><br>
<strong>Production Ready:</strong> HTTPS, CDN, security headers, and automatic deployments
all configured.
</p>
</div>
<div class="info-box" style="background: #fef2f2; border-color: #ef4444;">
<h3 style="color: #991b1b;">⏱️ Build Time</h3>
<p style="color: #991b1b;">
First deployment takes 5-10 minutes to build all packages.
Don't close the browser - you'll see a progress bar.
Subsequent deployments are faster (~2-3 minutes).
</p>
</div>
<h2 style="margin-top: 40px; color: #333;">Alternative: Deploy via CLI</h2>
<div class="code-box">
<div># Install Vercel CLI</div>
<div><code>npm install -g vercel</code></div>
<div style="margin-top: 10px;"># Clone repository</div>
<div><code>git clone https://github.com/christophernemala/tutorialkit.git</code></div>
<div><code>cd tutorialkit</code></div>
<div style="margin-top: 10px;"># Deploy to production</div>
<div><code>vercel --prod</code></div>
</div>
<div style="margin-top: 40px; padding-top: 30px; border-top: 2px solid #e5e7eb;">
<h3 style="color: #333; margin-bottom: 15px;">📚 Documentation</h3>
<p style="color: #666; margin-bottom: 20px;">
Complete guides available in your repository:
</p>
<div style="display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;">
<a href="https://github.com/christophernemala/tutorialkit/blob/main/SETUP_GUIDE.md"
style="color: #667eea; text-decoration: none; font-weight: 500;">
Setup Guide
</a>
<span style="color: #ccc;">•</span>
<a href="https://github.com/christophernemala/tutorialkit/blob/main/QUICK_DEPLOY.md"
style="color: #667eea; text-decoration: none; font-weight: 500;">
Quick Deploy
</a>
<span style="color: #ccc;">•</span>
<a href="https://github.com/christophernemala/tutorialkit/blob/main/DEPLOYMENT.md"
style="color: #667eea; text-decoration: none; font-weight: 500;">
Full Guide
</a>
<span style="color: #ccc;">•</span>
<a href="https://github.com/christophernemala/tutorialkit/blob/main/PRODUCTION_CHECKLIST.md"
style="color: #667eea; text-decoration: none; font-weight: 500;">
Checklist
</a>
</div>
</div>
<div style="margin-top: 40px; color: #666; font-size: 0.9rem;">
<p>Repository: <strong>christophernemala/tutorialkit</strong></p>
<p>Status: ✅ Production Ready</p>
<p>Last Updated: 2026-01-29</p>
</div>
</div>
<script>
// Track deployment button clicks
document.querySelectorAll('.deploy-button').forEach(button => {
button.addEventListener('click', function() {
console.log('🚀 Deployment initiated!');
});
});
</script>
</body>
</html>