diff --git a/.gitignore b/.gitignore index e350b12329..c1a281ec93 100755 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,9 @@ /vendor composer.phar .DS_Store - +/app/config/database.php +/app/config/mail.php +/app/database/*.sqlite /app/storage/logs/log-apache2handler-2013-11-13.txt /app/storage/logs/log-apache2handler-2013-11-15.txt /app/storage/logs/log-apache2handler-2013-11-16.txt diff --git a/README.md b/README.md index c9a9a1f7bb..3cc1418540 100644 --- a/README.md +++ b/README.md @@ -59,13 +59,19 @@ Forgetting to do this can mean your DB might end up out of sync with the new fil ### 3) Setup Database -Create a database and update the file `app/config/database.php` with your database name and credentials. +Create a database and update the file `app/config/database.php.example` with your database name and credentials, then rename the file to `database.php` + +> `nano app/config/database.php.example` +> `mv app/config/database.php.example app/config/database.php` ----- ### 4) Setup Mail Settings -Now, you need to setup your mail settings by just opening and updating the following file `app/config/mail.php`. +Now, you need to setup your mail settings by opening and updating the following file `app/config/mail.php.example`, then rename it to `mail.php` + +> `nano app/config/mail.php.example` +> `mv app/config/mail.php.example app/config/mail.php` This will be used to send emails to your users, when they register and they request a password reset. diff --git a/app/config/database.php b/app/config/database.php.example similarity index 100% rename from app/config/database.php rename to app/config/database.php.example diff --git a/app/config/mail.php b/app/config/mail.php.example similarity index 100% rename from app/config/mail.php rename to app/config/mail.php.example