Skip to content

Firefly III: a personal finances manager

Added the homestead configuration because it's not really secret.

Sander Dorigod231cd9f6107
diff --git a/app/config/.gitignore b/app/config/.gitignore
index 72c3919328..3415788027 100644
--- a/app/config/.gitignore
+++ b/app/config/.gitignore
@@ -1,4 +1,3 @@
local/
laptop/
-vagrant/
-homestead/
\ No newline at end of file
+vagrant/
\ No newline at end of file
diff --git a/app/config/homestead/app.php b/app/config/homestead/app.php
new file mode 100644
index 0000000000..16c4d11e1b
--- /dev/null
+++ b/app/config/homestead/app.php
@@ -0,0 +1,14 @@
+<?php
+return [
+ /*
+ |--------------------------------------------------------------------------
+ | Application Debug Mode
+ |--------------------------------------------------------------------------
+ |
+ | When your application is in debug mode, detailed error messages with
+ | stack traces will be shown on every error that occurs within your
+ | application. If disabled, a simple generic error page is shown.
+ |
+ */
+ 'debug' => true,
+];
\ No newline at end of file
diff --git a/app/config/homestead/database.php b/app/config/homestead/database.php
new file mode 100644
index 0000000000..de7f714bdf
--- /dev/null
+++ b/app/config/homestead/database.php
@@ -0,0 +1,47 @@
+<?php
+
+return [
+
+ /*
+ |--------------------------------------------------------------------------
+ | Database Connections
+ |--------------------------------------------------------------------------
+ |
+ | Here are each of the database connections setup for your application.
+ | Of course, examples of configuring each database platform that is
+ | supported by Laravel is shown below to make development simple.
+ |
+ |
+ | All database work in Laravel is done through the PHP PDO facilities
+ | so make sure you have the driver for your particular database of
+ | choice installed on your machine before you begin development.
+ |
+ */
+
+ 'connections' => [
+
+ 'mysql' => [
+ 'driver' => 'mysql',
+ 'host' => 'localhost',
+ 'database' => 'homestead',
+ 'username' => 'homestead',
+ 'password' => 'secret',
+ 'charset' => 'utf8',
+ 'collation' => 'utf8_unicode_ci',
+ 'prefix' => '',
+ ],
+
+ 'pgsql' => [
+ 'driver' => 'pgsql',
+ 'host' => 'localhost',
+ 'database' => 'homestead',
+ 'username' => 'homestead',
+ 'password' => 'secret',
+ 'charset' => 'utf8',
+ 'prefix' => '',
+ 'schema' => 'public',
+ ],
+
+ ],
+
+];
\ No newline at end of file
diff --git a/app/config/homestead/mail.php b/app/config/homestead/mail.php
new file mode 100644
index 0000000000..79a8bf2536
--- /dev/null
+++ b/app/config/homestead/mail.php
@@ -0,0 +1,13 @@
+<?php
+
+return [
+ 'driver' => 'smtp',
+ 'host' => 'smtp.gmail.com',
+ 'port' => 587,
+ 'from' => ['address' => '@gmail.com', 'name' => 'Firefly III'],
+ 'encryption' => 'tls',
+ 'username' => '@gmail.com',
+ 'password' => '',
+ 'sendmail' => '/usr/sbin/sendmail -bs',
+ 'pretend' => false,
+];