f08df010a7f0177575fdf91be1565dc23c82f645
Some checks failed
continuous-integration/drone/push Build is failing
api.extranetwork.com
Laravel 5.x tabanlı ExtraNetwork API backend.
Gereksinimler
- PHP 7.3
- MySQL 8.0
- Docker & Docker Compose
- Composer 2.2
Kurulum
# Bağımlılıkları kur
composer install
# .env dosyasını oluştur
cp .env.example .env
php artisan key:generate
# Veritabanı migrate
php artisan migrate
Docker ile Çalıştırma
docker compose up -d
Uygulama http://localhost:8073 adresinde çalışır.
CI/CD
Drone CI pipeline otomatik olarak:
composer installçalıştırır- PHPUnit testlerini çalıştırır
- Docker image build edip Gitea registry'e push eder
- SSH ile sunucuya deploy eder
Drone Secrets (Ayarlanması gerekenler)
| Secret | Açıklama |
|---|---|
GITEA_USER |
Gitea kullanıcı adı |
GITEA_TOKEN |
Gitea access token |
DEPLOY_HOST |
Deploy sunucusu IP/hostname |
DEPLOY_USER |
SSH kullanıcısı |
DEPLOY_SSH_KEY |
SSH private key |
Description
Languages
PHP
92.6%
Blade
7.3%