From 25820204722d3a1977f61e5feec8acf436532b1b Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 25 Jan 2018 11:06:52 +0200 Subject: [PATCH] Merge: How to skip setup form? --- resources/views/setup.blade.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/resources/views/setup.blade.php b/resources/views/setup.blade.php index b1520c233e..9391079e25 100644 --- a/resources/views/setup.blade.php +++ b/resources/views/setup.blade.php @@ -34,11 +34,12 @@ @endif @if (!@fopen(base_path()."/.env", 'a'))
Warning: Permission denied to write .env config file -
sudo chown www-data:www-data /path/to/ninja/.env
+
sudo chown www-data:www-data {{ base_path('.env') }}
@endif - If you need help you can either post to our support forum with the design you\'re using - or email us at contact@invoiceninja.com. + If you need help you can either post to our support forum or email us at contact@invoiceninja.com. + + @if (! env('PRECONFIGURED_INSTALL'))

-- Commands to create a MySQL database and user
 CREATE SCHEMA `ninja` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
@@ -46,6 +47,7 @@ CREATE USER 'ninja'@'localhost' IDENTIFIED BY 'ninja';
 GRANT ALL PRIVILEGES ON `ninja`.* TO 'ninja'@'localhost';
 FLUSH PRIVILEGES;

+ @endif {!! Former::open()->rules([ @@ -61,7 +63,9 @@ FLUSH PRIVILEGES; 'terms_checkbox' => 'required' ]) !!} - @include('partials.system_settings') +
+ @include('partials.system_settings') +