Environmental cleanup.
This commit is contained in:
@@ -47,12 +47,14 @@ Forgetting to do this can mean your DB might end up out of sync with the new fil
|
||||
|
||||
#### 2.1) Setup Your Database
|
||||
|
||||
Copy the example database config `app/config/local/database.example.php` to `database.php`.
|
||||
Update the file `app/config/local/database.php` with your database name and credentials.
|
||||
|
||||
vi app/config/local/database.php
|
||||
|
||||
#### 2.2) Setup Mail Settings
|
||||
|
||||
Copy the example mail config `app/config/local/database.example.php` to `database.php`.
|
||||
Update the file `app/config/local/mail.php` with your mail settings.
|
||||
|
||||
vi app/config/local/mail.php
|
||||
@@ -61,7 +63,13 @@ This will be used to send emails to your users, when they register and they requ
|
||||
|
||||
#### 2.3) Adjust the application settings.
|
||||
|
||||
Update the file `app/config/local/app.php` with your setting URL settings. You should also change your secret key here -- if you prefer to have your key randomly generated, run the artisan key:generate command from the application root.
|
||||
Copy the example app config `app/config/local/app.example.php` to `app.php`.
|
||||
|
||||
Update the file `app/config/local/app.php` with your setting URL settings.
|
||||
|
||||
vi app/config/local/app.php
|
||||
|
||||
You should also change your secret key here -- if you prefer to have your key randomly generated, run the artisan key:generate command from the application root.
|
||||
|
||||
php artisan key:generate --env=local
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
app.php
|
||||
mail.php
|
||||
database.php
|
||||
@@ -0,0 +1,3 @@
|
||||
app.php
|
||||
mail.php
|
||||
database.php
|
||||
@@ -13,7 +13,7 @@ return array(
|
||||
|
|
||||
*/
|
||||
|
||||
'debug' => true,
|
||||
'debug' => false,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -37,7 +37,7 @@ return array(
|
||||
| to a random, 32 character string, otherwise these encrypted strings
|
||||
| will not be safe. Please do this before deploying an application!
|
||||
|
|
||||
| Run a php artisand key:generate --env=production to create a random one
|
||||
| Run a php artisand key:generate --env=staging to create a random one
|
||||
*/
|
||||
|
||||
'key' => 'Change_this_key_or_snipe_will_get_ya',
|
||||
@@ -0,0 +1,3 @@
|
||||
app.php
|
||||
mail.php
|
||||
database.php
|
||||
@@ -26,7 +26,7 @@ return array(
|
||||
|
|
||||
*/
|
||||
|
||||
'url' => 'http://localhost',
|
||||
'url' => 'http://staging.yourserver.com',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -37,6 +37,7 @@ return array(
|
||||
| to a random, 32 character string, otherwise these encrypted strings
|
||||
| will not be safe. Please do this before deploying an application!
|
||||
|
|
||||
| Run a php artisand key:generate --env=staging to create a random one
|
||||
*/
|
||||
|
||||
'key' => 'Change_this_key_or_snipe_will_get_ya',
|
||||
Reference in New Issue
Block a user