[8c4ad8]: / web / server / server.html

Download this file

315 lines (283 with data), 14.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-0LTP0WK7EM"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-0LTP0WK7EM');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Server - DNAnalyzer</title>
<link rel="stylesheet" href="../style.css">
<link rel="stylesheet" href="server.css">
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="shortcut icon" href="../assets/icons/Icon_Dark_BG.svg" type="image/svg+xml">
</head>
<body>
<!-- Background effects -->
<div class="bg-gradient">
<div class="bg-blob bg-blob-1"></div>
<div class="bg-blob bg-blob-2"></div>
</div>
<!-- Navbar -->
<nav class="navbar" id="navbar">
<div class="container navbar-container">
<a href="../index.html" class="logo">
<img src="../assets/icons/Icon_Dark_BG.svg" alt="DNAnalyzer Logo">
<span class="logo-text">DNAnalyzer</span>
</a>
<button class="mobile-toggle" id="mobileToggle" aria-label="Toggle navigation">
<i class="fas fa-bars"></i>
</button>
<ul class="nav-links" id="navLinks">
<li><a href="../index.html">Home</a></li>
<li><a href="../features/features.html">Features</a></li>
<li><a href="../analyzer/analyzer.html">Analyzer</a></li>
<li><a href="server.html" class="active">Server</a></li>
<li><a href="../docs/docs.html">Docs</a></li>
<li><a href="../about/about.html">About</a></li>
</ul>
<div class="nav-buttons">
<a href="https://github.com/VerisimilitudeX/DNAnalyzer" class="btn btn-secondary btn-sm">
<i class="fab fa-github btn-icon"></i> GitHub
</a>
</div>
</div>
</nav>
<!-- Main Content -->
<main>
<section class="hero">
<div class="container">
<div class="hero-content">
<div class="hero-headings">
<h1>DNAnalyzer <span>Server</span></h1>
<p class="hero-subtitle">Set up and run your own DNAnalyzer server for local development and
advanced genomic analysis</p>
</div>
</div>
</div>
</section>
<section class="section">
<div class="container">
<div class="section-title">
<h2>Server Status</h2>
<p>Check your local server installation status and requirements</p>
</div>
<div class="card-grid">
<div class="card">
<div class="card-icon">
<i class="fas fa-server"></i>
</div>
<h3 class="card-title">Server Status</h3>
<div id="server-status" class="status-value">Checking...</div>
<p>Local Server</p>
</div>
<div class="card">
<div class="card-icon">
<i class="fas fa-memory"></i>
</div>
<h3 class="card-title">System Requirements</h3>
<div class="status-value">2GB+</div>
<p>Minimum RAM</p>
</div>
<div class="card">
<div class="card-icon">
<i class="fas fa-code-branch"></i>
</div>
<h3 class="card-title">Version</h3>
<div class="status-value">Java 17+</div>
<p>Required Runtime</p>
</div>
</div>
</div>
</section>
<section class="section section-bg-gradient">
<div class="container">
<div class="section-title">
<h2>Quick Start Guide</h2>
<p>Follow these steps to set up your local DNAnalyzer server</p>
</div>
<div class="steps-container">
<div class="step-item">
<div class="step-content">
<h3>Clone the Repository</h3>
<div class="code-block">
<code>git clone https://github.com/VerisimilitudeX/DNAnalyzer.git && cd DNAnalyzer</code>
<button class="copy-button" onclick="copyCloneCommand()">Copy</button>
</div>
<p>Clone the repository and navigate to the project directory</p>
</div>
</div>
<div class="step-item">
<div class="step-content">
<h3>Setup Gradle</h3>
<div class="code-block">
<code>chmod +x ./gradlew</code>
<button class="copy-button" onclick="copyChmodCommand()">Copy</button>
</div>
<p>Make the Gradle wrapper executable (Unix/macOS systems)</p>
</div>
</div>
<div class="step-item">
<div class="step-content">
<h3>Build the Project</h3>
<div class="code-block">
<code>./gradlew clean bootJar</code>
<button class="copy-button" onclick="copyBuildCommand()">Copy</button>
</div>
<p>Build the project (this may take a few minutes on first run)</p>
</div>
</div>
<div class="step-item">
<div class="step-content">
<h3>Start the Server</h3>
<div class="code-block">
<code>java -jar build/libs/DNAnalyzer.jar</code>
<button class="copy-button" onclick="copyRunCommand()">Copy</button>
</div>
<p>Start the local server on port 8080</p>
</div>
</div>
</div>
</div>
</section>
<section class="section" id="troubleshooting">
<div class="container">
<div class="section-title">
<h2>Troubleshooting</h2>
<p>Common issues and their solutions</p>
</div>
<div class="feature-card">
<div class="feature-icon feature-icon-magenta">
<i class="fas fa-network-wired"></i>
</div>
<div class="feature-content">
<h3>Port Already in Use</h3>
<p>If port 8080 is already in use, you may see an error like "Address already in use". To fix
this:</p>
<ul>
<li>Close any other applications using port 8080</li>
<li>Or modify the port in application.yml to use a different port</li>
<li>Alternatively, use the command line option to specify a different port</li>
</ul>
<div class="code-block">
<code>java -jar build/libs/DNAnalyzer.jar --server.port=8090</code>
</div>
</div>
</div>
<div class="feature-card">
<div class="feature-icon feature-icon-blue">
<i class="fab fa-java"></i>
</div>
<div class="feature-content">
<h3>Java Version Issues</h3>
<p>If you see "UnsupportedClassVersionError", make sure you have Java 17+ installed:</p>
<div class="code-block">
<code>java -version</code>
</div>
<p>Download and install Java 17 or later if your version is outdated.</p>
</div>
</div>
<div class="feature-card">
<div class="feature-icon feature-icon-orange">
<i class="fas fa-exclamation-triangle"></i>
</div>
<div class="feature-content">
<h3>Build Failures</h3>
<p>If you encounter build errors, try these solutions:</p>
<ul>
<li>Run './gradlew clean' first to clear any cached files</li>
<li>Make sure your Java installation is properly configured</li>
<li>Ensure you have write permissions in the project directory</li>
<li>Update Gradle wrapper if needed with './gradlew wrapper --gradle-version=7.5'</li>
</ul>
</div>
</div>
</div>
</section>
<section class="section section-bg-dark">
<div class="container text-center">
<h2>Ready to Contribute?</h2>
<p class="mb-xl">Join our community and help improve DNAnalyzer's server capabilities.</p>
<div class="hero-buttons" style="justify-content: center;">
<a href="https://github.com/VerisimilitudeX/DNAnalyzer" class="btn btn-primary">
<i class="fab fa-github btn-icon"></i> Fork on GitHub
</a>
<a href="https://discord.gg/xNpujz49gj" class="btn btn-secondary">
<i class="fab fa-discord btn-icon"></i> Join Discord
</a>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-grid">
<div class="footer-brand">
<img src="../assets/icons/Icon_Dark_BG.svg" alt="DNAnalyzer Logo">
<p>DNAnalyzer is a powerful, privacy-focused DNA analysis tool using cutting-edge machine learning
models for accurate, on-device genomic analysis.</p>
<div class="footer-social">
<a href="https://github.com/VerisimilitudeX/DNAnalyzer" class="social-link">
<i class="fab fa-github"></i>
</a>
<a href="https://discord.gg/xNpujz49gj" class="social-link">
<i class="fab fa-discord"></i>
</a>
<a href="https://twitter.com/DNAnalyzer_" class="social-link">
<i class="fab fa-twitter"></i>
</a>
</div>
</div>
<div class="footer-nav">
<h4>Product</h4>
<ul>
<li><a href="../features/features.html">Features</a></li>
<li><a href="../analyzer/analyzer.html">DNA Analyzer</a></li>
<li><a href="server.html">Server</a></li>
<li><a href="../docs/docs.html">Documentation</a></li>
</ul>
</div>
<div class="footer-nav">
<h4>Resources</h4>
<ul>
<li><a href="../docs/getting-started.md">Getting Started</a></li>
<li><a href="../docs/citations.md">Citations</a></li>
<li><a href="../docs/research/genes.md">Gene Research</a></li>
<li><a href="../docs/samples/cli-arguments-examples.md">CLI Examples</a></li>
</ul>
</div>
<div class="footer-nav">
<h4>Community</h4>
<ul>
<li><a href="https://github.com/VerisimilitudeX/DNAnalyzer">GitHub</a></li>
<li><a href="https://discord.gg/xNpujz49gj">Discord</a></li>
<li><a href="../docs/contributing/CONTRIBUTING.md">Contributing</a></li>
<li><a href="../CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<div class="footer-copyright">
Copyright &copy; Piyush Acharya 2025. DNAnalyzer is a fiscally sponsored 501(c)(3) nonprofit (EIN:
81-2908499). MIT License.
</div>
<div class="footer-links">
<a href="../LICENSE.md">License</a>
<a href="../SECURITY.md">Security</a>
<a href="../CITATION.cff">Citation</a>
</div>
</div>
</div>
</footer>
<script src="server.js"></script>
</body>
</html>