Skip to content

installation.md Turkceye cevrildi #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 33 additions & 31 deletions installation.md
Original file line number Diff line number Diff line change
@@ -1,73 +1,75 @@
# Installation
# Kurulum

- [Install Composer](#install-composer)
- [Install Laravel](#install-laravel)
- [Server Requirements](#server-requirements)
- [Composer Kurulumu](#install-composer)
- [Laravel Yükleme](#install-laravel)
- [Sunucu Gereksinimleri](#server-requirements)

<a name="install-composer"></a>
## Install Composer
## Composer Kurulumu

Laravel utilizes [Composer](http://getcomposer.org) to manage its dependencies. So, before using Laravel, you will need to make sure you have Composer installed on your machine.
Laravel bağımlılıklarını yönetmek için [Composer](http://getcomposer.org) kullanır. Bu yüzden Laravel'i kullanmadan önce, bilgisayarınızda Composer kurulu olduğundan emin olmanız gerekir.

<a name="install-laravel"></a>
## Install Laravel
## Laravel Yükleme

### Via Laravel Installer
### Laravel Installer Aracılığıyla

First, download the Laravel installer using Composer.
Öncelikle, Composer kullanarak Laravel yükleyicisini indiriniz..

composer global require "laravel/installer=~1.1"

Make sure to place the `~/.composer/vendor/bin` directory in your PATH so the `laravel` executable can be located by your system.

Once installed, the simple `laravel new` command will create a fresh Laravel installation in the directory you specify. For instance, `laravel new blog` would create a directory named `blog` containing a fresh Laravel installation with all dependencies installed. This method of installation is much faster than installing via Composer:
Terminalinizde `laravel` komutunu çalıştırdığınızda `laravel` çalıştırıcısının bulunabilmesi için PATH'inizde `~/.composer/vendor/bin` dizininin bulunduğundan emin olun.

Bunu bir kere kurduktan sonra, basit `laravel new` komutu sizin belirttiğiniz dizine yeni bir Laravel yüklemesi oluşturacaktır. Örneğin, `laravel new blog` komutu, içinde tüm bağımlılıkları yüklenmiş yeni bir laravel kurulumu barındıran `blog` klasörünü oluşturacaktır. Bu yolla kurulum yapmak Composer aracılığıyla yüklemekten çok daha hızlıdır:

laravel new blog

### Via Composer Create-Project
### Composer'ın Create-Project Komutuyla

You may also install Laravel by issuing the Composer `create-project` command in your terminal:
Terminalinizde Composer `create-project` komutunu vererek Laravel'i yükleyebilirsiniz:

composer create-project laravel/laravel --prefer-dist

<a name="server-requirements"></a>
## Server Requirements
## Sunucu Gereksinimleri

The Laravel framework has a few system requirements:
Laravel framework'un birkaç sistem gereksinimi bulunmaktadır:

- PHP >= 5.4
- Mcrypt PHP Extension
- OpenSSL PHP Extension
- Mbstring PHP Extension
- Mcrypt PHP Eklentisi
- OpenSSL PHP Eklentisi
- Mbstring PHP Eklentisi

As of PHP 5.5, some OS distributions may require you to manually install the PHP JSON extension. When using Ubuntu, this can be done via `apt-get install php5-json`.
PHP 5.5 için, bazı OS yayımlamaları PHP JSON eklentisinin elle yüklenmesini gerektirebilir. Ubuntu kullanırken, bu `apt-get install php5-json` aracılığı ile yapılabilir.

<a name="configuration"></a>
## Configuration
## Yapılandırma

The first thing you should do after installing Laravel is set your application key to a random string. If you installed Laravel via Composer, this key has probably already been set for you by the `key:generate` command.
Laravel'i kurduktan sonra yapmanız gereken ilk şey; rastgele bir dizeden oluşan uygulama anahtarını girmektir. Laravel'i Composer aracılığı ile kurduysanız, bu anahtar sizin için `key:generate` komutu tarafından tanımlanmıştır.

Typically, this string should be 32 characters long. The key can be set in the `app.php` configuration file. **If the application key is not set, your user sessions and other encrypted data will not be secure!**
Örneğin, Bu dize 32 karakter uzunluğunda olmalıdır. Bu anahtar`app.php` yapılandırma dosyasında ayarlanabilir. **Eğer uygulama anahtarı değeri tanımlanmamışsa, sizin kullanıcı oturum bilgileriniz ve diğer şifreli verilerinizgüvenli olmayacaktır!**

Laravel needs almost no other configuration out of the box. You are free to get started developing! However, you may wish to review the `config/app.php` file and its documentation. It contains several options such as `timezone` and `locale` that you may wish to change according to your application.
Laravel'in çalışabilmesi için neredeyse hiç yapılandırma ayarı gerekmez. Geliştirmeye hemen başlayabilirsiniz! Ancak `config/app.php` dosyasını ve dokümantasyonunu gözden geçirebilirsiniz. Buradaki `timezone` (saat dilimi) ve `locale` gibi değerleri uygulamanızın ihtiyaçlarına göre düzenleyebilirsiniz.

Once Laravel is installed, you should also [configure your local environment](/docs/master/configuration#environment-configuration).
Laravel yüklendikten sonra, [local ortamınızı yapılandırmanız](/docs/master/configuration#environment-configuration) da gerekmektedir.

> **Note:** You should never have the `app.debug` configuration option set to `true` for a production application.
> **Not:** Bir üretim ortamında `app.debug` değerini asla `true` ayarlamamalısınız. Bunu hiçbir zaman yapmayın.

<a name="permissions"></a>
### Permissions
### İzinler

Laravel may require one set of permissions to be configured: folders within `storage` require write access by the web server.
Laravel `storage` dizin içeriğinin web sunucu tarafından yazılabilir olmasını gerektirmektedir.

<a name="pretty-urls"></a>
## Pretty URLs
## Zarig URL'ler

### Apache

The framework ships with a `public/.htaccess` file that is used to allow URLs without `index.php`. If you use Apache to serve your Laravel application, be sure to enable the `mod_rewrite` module.
Laravel framework, URL'lerin index.php olmadan kullanımına imkan vermek için kullanılan bir public/.htaccess dosyası ile birlikte gelmektedir. Laravel uygulamanızın sunumu için Apache kullanıyorsanız mod_rewrite modülünün etkin olduğundan emin olunuz.

If the `.htaccess` file that ships with Laravel does not work with your Apache installation, try this one:
Eğer Laravel ile birlikte gelen .htaccess dosyası Apache kurulumunuz ile işlev göstermezse, bunu deneyiniz:

Options +FollowSymLinks
RewriteEngine On
@@ -78,10 +80,10 @@ If the `.htaccess` file that ships with Laravel does not work with your Apache i

### Nginx

On Nginx, the following directive in your site configuration will allow "pretty" URLs:
Nginx kullanıyorsanız, ekteki ayar "zarif url"lerin çalışmasını sağlamaya yeterlidir:

location / {
try_files $uri $uri/ /index.php?$query_string;
}

Of course, when using [Homestead](/docs/master/homestead), pretty URLs will be configured automatically.
[Homestead](/docs/master/homestead) kullanırsanız, zarif URL'ler otomatik yapılandırılacaktır.