mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #6724 from lukasmu/self-host-improvements
Improving the self-host installation/update procedures
This commit is contained in:
commit
119b7fae17
3
.gitignore
vendored
3
.gitignore
vendored
@ -17,7 +17,6 @@ local_version.txt
|
|||||||
|
|
||||||
/resources/assets/bower
|
/resources/assets/bower
|
||||||
/public/logo
|
/public/logo
|
||||||
/storage/*
|
|
||||||
.env.dusk.local
|
.env.dusk.local
|
||||||
/public/vendors/*
|
/public/vendors/*
|
||||||
*.log
|
*.log
|
||||||
@ -29,4 +28,4 @@ nbproject
|
|||||||
.php_cs.cache
|
.php_cs.cache
|
||||||
public/test.pdf
|
public/test.pdf
|
||||||
public/storage/test.pdf
|
public/storage/test.pdf
|
||||||
/Modules
|
/Modules
|
||||||
|
@ -56,7 +56,7 @@ class PostUpdate extends Command
|
|||||||
|
|
||||||
exec('vendor/bin/composer install --no-dev -o', $output);
|
exec('vendor/bin/composer install --no-dev -o', $output);
|
||||||
|
|
||||||
info(print_r($output,1));
|
info(print_r($output,1));
|
||||||
info("finished running composer install ");
|
info("finished running composer install ");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@ -75,9 +75,17 @@ class PostUpdate extends Command
|
|||||||
|
|
||||||
info("view cleared");
|
info("view cleared");
|
||||||
|
|
||||||
|
try {
|
||||||
|
Artisan::call('queue:restart');
|
||||||
|
} catch (\Exception $e) {
|
||||||
|
info("I wasn't able to restart the queue.");
|
||||||
|
}
|
||||||
|
|
||||||
|
info("queue restarted");
|
||||||
|
|
||||||
VersionCheck::dispatch();
|
VersionCheck::dispatch();
|
||||||
|
|
||||||
info("Sent for version check");
|
info("Sent for version check");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
<div class="alert py-2 bg-white" id="test-pdf-response"></div>
|
<div class="alert py-2 bg-white" id="test-pdf-response"></div>
|
||||||
</dd>
|
</dd>
|
||||||
<a target="_blank" class="block text-sm text-gray-900 leading-5 underline"
|
<a target="_blank" class="block text-sm text-gray-900 leading-5 underline"
|
||||||
href="https://invoiceninja.github.io/selfhost.html#phantom-js">
|
href="https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues">
|
||||||
{{ ctrans('texts.setup_phantomjs_note') }}
|
{{ ctrans('texts.setup_phantomjs_note') }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
2
storage/app/public/.gitignore
vendored
Normal file
2
storage/app/public/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
Loading…
x
Reference in New Issue
Block a user