renaming
This commit is contained in:
parent
c4faadf48e
commit
f6ba5091c1
@ -23,7 +23,7 @@ AI_API_KEY=your-mistral-api-key
|
|||||||
AI_RATE_LIMIT_DELAY_MS=1000
|
AI_RATE_LIMIT_DELAY_MS=1000
|
||||||
|
|
||||||
# Git Integration (Required for contributions)
|
# Git Integration (Required for contributions)
|
||||||
GIT_REPO_URL=https://git.cc24.dev/mstoeck3/cc24-hub
|
GIT_REPO_URL=https://git.cc24.dev/mstoeck3/forensic-pathways
|
||||||
GIT_PROVIDER=gitea
|
GIT_PROVIDER=gitea
|
||||||
GIT_API_ENDPOINT=https://git.cc24.dev/api/v1
|
GIT_API_ENDPOINT=https://git.cc24.dev/api/v1
|
||||||
GIT_API_TOKEN=your-git-api-token
|
GIT_API_TOKEN=your-git-api-token
|
||||||
|
50
README.md
50
README.md
@ -78,8 +78,8 @@ Ein kuratiertes Verzeichnis für Digital Forensics und Incident Response (DFIR)
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Repository klonen
|
# Repository klonen
|
||||||
git clone https://git.cc24.dev/mstoeck3/cc24-hub.git
|
git clone https://git.cc24.dev/mstoeck3/forensic-pathways.git
|
||||||
cd cc24-hub
|
cd forensic-pathways
|
||||||
|
|
||||||
# Dependencies installieren
|
# Dependencies installieren
|
||||||
npm install
|
npm install
|
||||||
@ -117,8 +117,8 @@ sudo systemctl enable nginx
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Klonen des Repositorys
|
# Klonen des Repositorys
|
||||||
sudo git clone https://git.cc24.dev/mstoeck3/cc24-hub /opt/cc24-hub
|
sudo git clone https://git.cc24.dev/mstoeck3/forensic-pathways /opt/forensic-pathways
|
||||||
cd /opt/cc24-hub
|
cd /opt/forensic-pathways
|
||||||
|
|
||||||
# Abhängigkeiten installieren
|
# Abhängigkeiten installieren
|
||||||
sudo npm install
|
sudo npm install
|
||||||
@ -127,12 +127,12 @@ sudo npm install
|
|||||||
sudo npm run build
|
sudo npm run build
|
||||||
|
|
||||||
# Berechtigungen setzen
|
# Berechtigungen setzen
|
||||||
sudo chown -R www-data:www-data /opt/cc24-hub
|
sudo chown -R www-data:www-data /opt/forensic-pathways
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 3. Umgebungsvariablen konfigurieren
|
#### 3. Umgebungsvariablen konfigurieren
|
||||||
|
|
||||||
Erstelle `/opt/cc24-hub/.env`:
|
Erstelle `/opt/forensic-pathways/.env`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# ===========================================
|
# ===========================================
|
||||||
@ -160,7 +160,7 @@ AI_API_KEY=your-mistral-api-key
|
|||||||
AI_RATE_LIMIT_DELAY_MS=1000
|
AI_RATE_LIMIT_DELAY_MS=1000
|
||||||
|
|
||||||
# Git Integration (Required for contributions)
|
# Git Integration (Required for contributions)
|
||||||
GIT_REPO_URL=https://git.cc24.dev/mstoeck3/cc24-hub
|
GIT_REPO_URL=https://git.cc24.dev/mstoeck3/forensic-pathways
|
||||||
GIT_PROVIDER=gitea
|
GIT_PROVIDER=gitea
|
||||||
GIT_API_ENDPOINT=https://git.cc24.dev/api/v1
|
GIT_API_ENDPOINT=https://git.cc24.dev/api/v1
|
||||||
GIT_API_TOKEN=your-git-api-token
|
GIT_API_TOKEN=your-git-api-token
|
||||||
@ -178,13 +178,13 @@ NEXTCLOUD_PUBLIC_URL=https://your-nextcloud.com/s/
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Berechtigungen sichern
|
# Berechtigungen sichern
|
||||||
sudo chmod 600 /opt/cc24-hub/.env
|
sudo chmod 600 /opt/forensic-pathways/.env
|
||||||
sudo chown www-data:www-data /opt/cc24-hub/.env
|
sudo chown www-data:www-data /opt/forensic-pathways/.env
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 4. Nginx konfigurieren
|
#### 4. Nginx konfigurieren
|
||||||
|
|
||||||
Erstelle `/etc/nginx/sites-available/cc24-hub`:
|
Erstelle `/etc/nginx/sites-available/forensic-pathways`:
|
||||||
|
|
||||||
```nginx
|
```nginx
|
||||||
server {
|
server {
|
||||||
@ -212,7 +212,7 @@ server {
|
|||||||
# Static Files
|
# Static Files
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ @nodejs;
|
try_files $uri $uri/ @nodejs;
|
||||||
root /opt/cc24-hub/dist;
|
root /opt/forensic-pathways/dist;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
# Cache static assets
|
# Cache static assets
|
||||||
@ -244,14 +244,14 @@ server {
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Site aktivieren
|
# Site aktivieren
|
||||||
sudo ln -s /etc/nginx/sites-available/cc24-hub /etc/nginx/sites-enabled/
|
sudo ln -s /etc/nginx/sites-available/forensic-pathways /etc/nginx/sites-enabled/
|
||||||
sudo nginx -t
|
sudo nginx -t
|
||||||
sudo systemctl reload nginx
|
sudo systemctl reload nginx
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 5. Systemd Service einrichten
|
#### 5. Systemd Service einrichten
|
||||||
|
|
||||||
Erstelle `/etc/systemd/system/cc24-hub.service`:
|
Erstelle `/etc/systemd/system/forensic-pathways.service`:
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[Unit]
|
[Unit]
|
||||||
@ -263,7 +263,7 @@ Wants=nginx.service
|
|||||||
Type=exec
|
Type=exec
|
||||||
User=www-data
|
User=www-data
|
||||||
Group=www-data
|
Group=www-data
|
||||||
WorkingDirectory=/opt/cc24-hub
|
WorkingDirectory=/opt/forensic-pathways
|
||||||
Environment=NODE_ENV=production
|
Environment=NODE_ENV=production
|
||||||
ExecStart=/usr/bin/node ./dist/server/entry.mjs
|
ExecStart=/usr/bin/node ./dist/server/entry.mjs
|
||||||
Restart=always
|
Restart=always
|
||||||
@ -276,7 +276,7 @@ NoNewPrivileges=yes
|
|||||||
PrivateTmp=yes
|
PrivateTmp=yes
|
||||||
ProtectSystem=strict
|
ProtectSystem=strict
|
||||||
ProtectHome=yes
|
ProtectHome=yes
|
||||||
ReadWritePaths=/opt/cc24-hub
|
ReadWritePaths=/opt/forensic-pathways
|
||||||
CapabilityBoundingSet=
|
CapabilityBoundingSet=
|
||||||
|
|
||||||
# Resource Limits
|
# Resource Limits
|
||||||
@ -290,11 +290,11 @@ WantedBy=multi-user.target
|
|||||||
```bash
|
```bash
|
||||||
# Service aktivieren und starten
|
# Service aktivieren und starten
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
sudo systemctl enable cc24-hub
|
sudo systemctl enable forensic-pathways
|
||||||
sudo systemctl start cc24-hub
|
sudo systemctl start forensic-pathways
|
||||||
|
|
||||||
# Status prüfen
|
# Status prüfen
|
||||||
sudo systemctl status cc24-hub
|
sudo systemctl status forensic-pathways
|
||||||
```
|
```
|
||||||
|
|
||||||
## 🔧 Konfiguration
|
## 🔧 Konfiguration
|
||||||
@ -438,7 +438,7 @@ domain-agnostic-software:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Repository aktualisieren
|
# Repository aktualisieren
|
||||||
cd /opt/cc24-hub
|
cd /opt/forensic-pathways
|
||||||
sudo git pull
|
sudo git pull
|
||||||
|
|
||||||
# Dependencies aktualisieren
|
# Dependencies aktualisieren
|
||||||
@ -448,7 +448,7 @@ sudo npm install
|
|||||||
sudo npm run build
|
sudo npm run build
|
||||||
|
|
||||||
# Service neustarten
|
# Service neustarten
|
||||||
sudo systemctl restart cc24-hub
|
sudo systemctl restart forensic-pathways
|
||||||
```
|
```
|
||||||
|
|
||||||
## 💾 Backup
|
## 💾 Backup
|
||||||
@ -456,10 +456,10 @@ sudo systemctl restart cc24-hub
|
|||||||
Wichtige Dateien für Backup:
|
Wichtige Dateien für Backup:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
/opt/cc24-hub/src/data/tools.yaml
|
/opt/forensic-pathways/src/data/tools.yaml
|
||||||
/opt/cc24-hub/.env
|
/opt/forensic-pathways/.env
|
||||||
/etc/nginx/sites-available/cc24-hub
|
/etc/nginx/sites-available/forensic-pathways
|
||||||
/etc/systemd/system/cc24-hub.service
|
/etc/systemd/system/forensic-pathways.service
|
||||||
```
|
```
|
||||||
|
|
||||||
## 🤝 Beiträge
|
## 🤝 Beiträge
|
||||||
@ -475,7 +475,7 @@ Contributions sind willkommen! Bitte:
|
|||||||
|
|
||||||
Bei Problemen oder Fragen:
|
Bei Problemen oder Fragen:
|
||||||
|
|
||||||
- **Issues:** [Repository Issues](https://git.cc24.dev/mstoeck3/cc24-hub/issues)
|
- **Issues:** [Repository Issues](https://git.cc24.dev/mstoeck3/forensic-pathways/issues)
|
||||||
- **Dokumentation:** Siehe `/knowledgebase` auf der Website
|
- **Dokumentation:** Siehe `/knowledgebase` auf der Website
|
||||||
|
|
||||||
## 📄 Lizenz
|
## 📄 Lizenz
|
||||||
|
@ -268,7 +268,7 @@ This architecture emphasizes maintainability, user experience, and extensibility
|
|||||||
2. **Add selectively**: Include 1-3 secondary files based on the specific development task
|
2. **Add selectively**: Include 1-3 secondary files based on the specific development task
|
||||||
3. **Reference others**: Mention other relevant files by name/purpose without including full content
|
3. **Reference others**: Mention other relevant files by name/purpose without including full content
|
||||||
|
|
||||||
user01@altiera /v/h/u/P/cc24-hub (main)> tree src
|
user01@altiera /v/h/u/P/forensic-pathways (main)> tree src
|
||||||
src
|
src
|
||||||
├── components
|
├── components
|
||||||
│ ├── AIQueryInterface.astro
|
│ ├── AIQueryInterface.astro
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex; gap: 2rem; align-items: center;">
|
<div style="display: flex; gap: 2rem; align-items: center;">
|
||||||
<a href="https://git.cc24.dev/mstoeck3/cc24-hub" target="_blank" rel="noopener noreferrer">
|
<a href="https://git.cc24.dev/mstoeck3/forensic-pathways" target="_blank" rel="noopener noreferrer">
|
||||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
|
||||||
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
|
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
@ -205,7 +205,7 @@ import BaseLayout from '../layouts/BaseLayout.astro';
|
|||||||
Möchtest du direkt am Sourcecode mitarbeiten? Schau dir die Anleitung unter
|
Möchtest du direkt am Sourcecode mitarbeiten? Schau dir die Anleitung unter
|
||||||
<a href="/contribute#code">/contribute</a> an oder besuche unser Repository:
|
<a href="/contribute#code">/contribute</a> an oder besuche unser Repository:
|
||||||
</p>
|
</p>
|
||||||
<a href="https://git.cc24.dev/mstoeck3/cc24-hub" target="_blank" rel="noopener noreferrer"
|
<a href="https://git.cc24.dev/mstoeck3/forensic-pathways" target="_blank" rel="noopener noreferrer"
|
||||||
style="display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-accent); font-weight: 500;">
|
style="display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-accent); font-weight: 500;">
|
||||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor">
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor">
|
||||||
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" />
|
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" />
|
||||||
|
@ -166,7 +166,7 @@ const { authenticated, userEmail, userId } = authResult;
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex; flex-direction: column; gap: 1rem;">
|
<div style="display: flex; flex-direction: column; gap: 1rem;">
|
||||||
<a href="https://git.cc24.dev/mstoeck3/cc24-hub/issues/new" target="_blank" rel="noopener noreferrer" class="btn" style="background-color: var(--color-warning); color: white; border-color: var(--color-warning);">
|
<a href="https://git.cc24.dev/mstoeck3/forensic-pathways/issues/new" target="_blank" rel="noopener noreferrer" class="btn" style="background-color: var(--color-warning); color: white; border-color: var(--color-warning);">
|
||||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="margin-right: 0.5rem;">
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="margin-right: 0.5rem;">
|
||||||
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/>
|
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/>
|
||||||
<polyline points="15 3 21 3 21 9"/>
|
<polyline points="15 3 21 3 21 9"/>
|
||||||
|
@ -9,7 +9,7 @@ config();
|
|||||||
|
|
||||||
const SECRET_KEY = new TextEncoder().encode(
|
const SECRET_KEY = new TextEncoder().encode(
|
||||||
process.env.AUTH_SECRET ||
|
process.env.AUTH_SECRET ||
|
||||||
'cc24-hub-default-secret-key-change-in-production'
|
'forensic-pathways-default-secret-key-change-in-production'
|
||||||
);
|
);
|
||||||
const SESSION_DURATION = 6 * 60 * 60; // 6 hours in seconds
|
const SESSION_DURATION = 6 * 60 * 60; // 6 hours in seconds
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user