Merge pull request #6724 from lukasmu/self-host-improvements

Improving the self-host installation/update procedures
This commit is contained in:
David Bomba 2021-09-27 07:00:32 +10:00 committed by GitHub
commit 119b7fae17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 5 deletions

1
.gitignore vendored
View File

@ -17,7 +17,6 @@ local_version.txt
/resources/assets/bower
/public/logo
/storage/*
.env.dusk.local
/public/vendors/*
*.log

View File

@ -75,6 +75,14 @@ class PostUpdate extends Command
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();
info("Sent for version check");

View File

@ -53,7 +53,7 @@
<div class="alert py-2 bg-white" id="test-pdf-response"></div>
</dd>
<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') }}
</a>
</div>

2
storage/app/public/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*
!.gitignore