From 30f13d262f894a25a124f9baf2feae39bc071c73 Mon Sep 17 00:00:00 2001 From: Mihai <56123381+kiwimato@users.noreply.github.com> Date: Wed, 31 Aug 2022 11:19:59 +0200 Subject: [PATCH] Update Readme.md --- Readme.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 9c4fe0f..a4b07ab 100644 --- a/Readme.md +++ b/Readme.md @@ -13,12 +13,16 @@ CREATE DATABASE invoiceninja5; ``` Of course, if you already have a SQL user you can use that or create one specifically for Invoiceninja and use that. +### Certificates :warning: Trusted SSL certificates are a must for this to work properly, so if you using SWAG you can just copy the certificates from SWAG into `storage/certificates` and replace the existing ones. On the first run, self-signed certificates are automatically generated under this folder if they don't already exist. You can either replace them with SWAG ones, or import the self signed certificates into your preferred browser. More in [SSL certificates](#SSL) +### APP_URL :warning: `APP_URL` variable MUST be set properly on the first run. If you have to change it for some reason, you will have to DROP the DB and recreate everything, so please make sure to set it up properly from start. It must be a URL, for example: `https://superninja.com:8443`. +Note: `APP_URL` env variable should be the form of `https://domain.com[:port]`. For example: `https://supercool.com:8443` + As long as these things above are kept in mind, this should work on the first run. If anything is not clear enough, feel free to raise issues here. @@ -31,8 +35,6 @@ To properly use InvoiceNinja you'll have to import the certificate in your brows I strongly recommend using LetsEncrypt or SWAG on UnRAID and then you can simply create/overwrite `invoiceninja.crt` with `fullchain.pem` and also the same thing for the key, of course. Just to clarify, you don't need to route traffic through SWAG, even though you can. Personally, I just copy the certificates from SWAG. -Note: `APP_URL` env variable should be the form of `https://domain.com[:port]`. For example: `https://supercool.com:8443` - Personally, I use SWAG, and I just copy over the certifcates daily by using User Scripts UnRAID plugin: ``` # Invoice Ninja