Files
web-site/readme.md
T
2026-07-01 17:07:55 +03:00

62 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Pisi GNU/Linux Web Sitesi
Pisi Linux topluluk web sitesi. [ZN Framework](https://znframework.com) ile geliştirilmiştir.
## Projeler
| Proje | Alt Alan | Açıklama |
|-------|----------|----------|
| `Frontend` | `pisilinux.org` | Ana site |
| `Blog` | `blog.pisilinux.org` | Blog |
| `Forum` | `forum.pisilinux.org` | Forum |
| `Wiki` | `wiki.pisilinux.org` | Wiki |
| `Download` | `download.pisilinux.org` | İndirme sayfası |
| `Bugs` | `bugs.pisilinux.org` | Hata takip |
| `Members` | `members.pisilinux.org` | Üye paneli |
| `Panel` | `panel.pisilinux.org` | Yönetim paneli |
## Ortak Varlıklar
`Assets/` view'ları (`head`, `body`, `header`, `footer`) sadece `Frontend` projesinde bulunur, diğer projeler container mekanizması (`cview`) ile Frontend'den yükler.
## Site Özellikleri
- Koyu/açık tema (CSS değişkenleri + `localStorage`)
- Glassmorphism tasarım (pisiV4)
- Alt alan yönlendirme (subdomain → proje eşlemesi)
- Çoklu dil desteği (tr, en, de, az, bg, ir)
- Güvenlik: Captcha, oturum tabanlı hız sınırlama
## Kurulum
```bash
# 1. Config dosyalarını oluşturun
cp Projects/Frontend/Config/Database.php.example Projects/Frontend/Config/Database.php
cp Projects/Frontend/Config/Services.php.example Projects/Frontend/Config/Services.php
# 2. Veritabanı ve SMTP bilgilerinizi girin
nano Projects/Frontend/Config/Database.php
nano Projects/Frontend/Config/Services.php
```
`Database.php.example` ve `Services.php.example` dosyalarını `.php` olarak kopyalayıp içindeki boş alanları kendi sunucu bilgilerinizle doldurun. Bu dosyalar `.gitignore` ile korunur, git'e eklenmez.
## Yönetim Paneli
Yönetim paneline `https://panel.xxxyz.com` adresinden erişilir.
- **Kullanıcı adı:** admin
- **Parola:** 12345678
## Geliştirme
```bash
# Gereksinimler
- PHP 8.1+
- Apache + mod_rewrite
- /etc/hosts: 127.0.0.1 blog.pisilinux.org forum.pisilinux.org ...
# Test
curl -H "Accept-Language: tr" http://blog.pisilinux.org/
```