jualhosting commited on
Commit
43b324c
·
verified ·
1 Parent(s): 8ed4d8b

Upload 4 files

Browse files
Files changed (1) hide show
  1. setup_guide/index.html +120 -0
setup_guide/index.html ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="id">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Setup Cloud File Manager</title>
7
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap" rel="stylesheet">
8
+ <style>
9
+ :root {
10
+ --bg-color: #0d1117;
11
+ --card-bg: rgba(22, 27, 34, 0.8);
12
+ --border-color: rgba(48, 54, 61, 0.8);
13
+ --accent-color: #58a6ff;
14
+ --text-color: #c9d1d9;
15
+ --text-bold: #f0f6fc;
16
+ }
17
+ body {
18
+ font-family: 'Inter', sans-serif;
19
+ background-color: var(--bg-color);
20
+ color: var(--text-color);
21
+ margin: 0;
22
+ padding: 40px 20px;
23
+ display: flex;
24
+ justify-content: center;
25
+ align-items: center;
26
+ min-height: 100vh;
27
+ box-sizing: border-box;
28
+ }
29
+ .container {
30
+ max-width: 650px;
31
+ width: 100%;
32
+ background: var(--card-bg);
33
+ border: 1px solid var(--border-color);
34
+ border-radius: 16px;
35
+ padding: 40px;
36
+ box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
37
+ backdrop-filter: blur(8px);
38
+ }
39
+ h1 {
40
+ color: var(--text-bold);
41
+ font-size: 28px;
42
+ margin-top: 0;
43
+ display: flex;
44
+ align-items: center;
45
+ gap: 12px;
46
+ }
47
+ p {
48
+ line-height: 1.6;
49
+ }
50
+ .alert {
51
+ background: rgba(216, 180, 254, 0.1);
52
+ border: 1px solid rgba(216, 180, 254, 0.3);
53
+ color: #d8b4fe;
54
+ padding: 16px;
55
+ border-radius: 8px;
56
+ margin-bottom: 24px;
57
+ font-size: 14px;
58
+ }
59
+ ol {
60
+ padding-left: 20px;
61
+ }
62
+ li {
63
+ margin-bottom: 16px;
64
+ line-height: 1.6;
65
+ }
66
+ code {
67
+ background: #161b22;
68
+ padding: 2px 6px;
69
+ border-radius: 4px;
70
+ font-family: monospace;
71
+ color: #ff7b72;
72
+ border: 1px solid var(--border-color);
73
+ }
74
+ pre {
75
+ background: #161b22;
76
+ padding: 16px;
77
+ border-radius: 8px;
78
+ border: 1px solid var(--border-color);
79
+ overflow-x: auto;
80
+ }
81
+ .btn-restart {
82
+ display: inline-block;
83
+ background: var(--accent-color);
84
+ color: #0d1117;
85
+ padding: 12px 24px;
86
+ border-radius: 8px;
87
+ text-decoration: none;
88
+ font-weight: 600;
89
+ margin-top: 16px;
90
+ transition: all 0.2s ease;
91
+ }
92
+ .btn-restart:hover {
93
+ opacity: 0.9;
94
+ transform: translateY(-2px);
95
+ }
96
+ </style>
97
+ </head>
98
+ <body>
99
+ <div class="container">
100
+ <h1>⚙️ Konfigurasi Rclone Diperlukan</h1>
101
+ <div class="alert">
102
+ <strong>Info:</strong> Aplikasi File Browser siap dijalankan, tetapi memerlukan konfigurasi Google Drive (rclone) agar penyimpanan file Anda bersifat permanen (tidak hilang saat Space restart).
103
+ </div>
104
+ <p>Silakan ikuti langkah-langkah di bawah ini untuk menghubungkan Google Drive Anda:</p>
105
+ <ol>
106
+ <li>Instal <code>rclone</code> di komputer lokal Anda.</li>
107
+ <li>Jalankan perintah <code>rclone config</code> di terminal lokal Anda, buat remote baru tipe <code>drive</code>, dan beri nama (misal: <code>gdrive</code>).</li>
108
+ <li>Temukan file <code>rclone.conf</code> Anda (jalankan perintah <code>rclone config file</code> untuk melihat lokasinya).</li>
109
+ <li>Buka file tersebut, salin seluruh teks konfigurasinya.</li>
110
+ <li>Buka halaman <strong>Settings</strong> di Space Hugging Face ini.</li>
111
+ <li>Scroll ke bawah ke bagian <strong>Variables and secrets</strong>, lalu klik <strong>New secret</strong>.</li>
112
+ <li>Gunakan nama secret <code>RCLONE_CONFIG_DATA</code> dan tempelkan (paste) isi konfigurasi rclone tadi ke kolom value.</li>
113
+ <li>Setelah ditambahkan, silakan <strong>Restart</strong> Space ini.</li>
114
+ </ol>
115
+ <div style="text-align: center;">
116
+ <a href="" onclick="window.location.reload(); return false;" class="btn-restart">Refresh Halaman</a>
117
+ </div>
118
+ </div>
119
+ </body>
120
+ </html>