{"id":27628087,"url":"https://github.com/umutphp/kids-story-backend","last_synced_at":"2025-04-23T14:03:02.375Z","repository":{"id":243582681,"uuid":"812812598","full_name":"umutphp/kids-story-backend","owner":"umutphp","description":"Yapay zeka ile masal dünyasına kısa bir yolculuk","archived":false,"fork":false,"pushed_at":"2024-06-14T12:02:59.000Z","size":803,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-14T13:28:49.807Z","etag":null,"topics":["yapay-zeka"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umutphp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-09T23:56:17.000Z","updated_at":"2024-06-14T13:28:56.715Z","dependencies_parsed_at":"2024-06-14T13:28:50.057Z","dependency_job_id":null,"html_url":"https://github.com/umutphp/kids-story-backend","commit_stats":null,"previous_names":["umutphp/kids-story-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutphp%2Fkids-story-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutphp%2Fkids-story-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutphp%2Fkids-story-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umutphp%2Fkids-story-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umutphp","download_url":"https://codeload.github.com/umutphp/kids-story-backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250447158,"owners_count":21432160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["yapay-zeka"],"created_at":"2025-04-23T14:02:31.646Z","updated_at":"2025-04-23T14:03:02.366Z","avatar_url":"https://github.com/umutphp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Masalcı\n\n## Kurulum\n\n1. Repoyu bilgisayarınıza indirin.\n\n```bash\ngit clone git@github.com:umutphp/kids-story-backend.git\n```\n\n2. `composer` ile ilk kurumu yapın.\n\n```bash\ncomposer install\n```\n\n3. `.env` dosyasını oluşturun ve kullanacağınız ayarları yapın. `.env.example` dosyasında ön tanımlı olarak `Sqlite` veritabanı ve `Ollama` AI model runtime ayarlanmıştır.\n\n```bash\ncp .env.example .env\n```\n\n4. [Laravel Sail](https://laravel.com/docs/11.x/sail) ile uygulamayı çalıştırın.\n\n```bash\n./vendor/bin/sail up\n```\n\n5. Tarayıcınızdan http://localhost adresine girerek kullanıcı kaydını oluşturup http://localhost/admin adresinden CRUD arayüzüne ulaşabilirsiniz.\n\n## Ollama\n\nDocker Hub'daki resmi `ollama/ollama:latest` image'ı kullanarak `docker-compose.yml` dosyasına bir servis ekledim. Ama eğer direk makinanızda kurulu olan Ollama'yı kullanmak isterseniz de `.env` dosyasında OLLAMA_HOST değerini `host.docker.internal:11434` yapabilirsiniz.\n\nAyrıca Docker içinde çalışan Ollama için cache klasörünü ana makinadaki Ollama cache klasörü ile aynı yaparak aynı modelleri tekrar tekrar indirmeden kullanabilirsiniz.\n\nKullanacağınız modeli Ollama container içine indirmeniz gerekiyor. İnternet hızınıza göre biraz zaman alacaktır.\n\n```bash\ndocker-compose exec -it ollama /bin/bash\nollama pull llama3\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumutphp%2Fkids-story-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumutphp%2Fkids-story-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumutphp%2Fkids-story-backend/lists"}