diff --git a/Installing-Invoice-Ninja-2.0.md b/Installing-Invoice-Ninja-2.0.md deleted file mode 100644 index 100f54c..0000000 --- a/Installing-Invoice-Ninja-2.0.md +++ /dev/null @@ -1,9 +0,0 @@ -# Installation. - -* Download the release [here](https://github.com/invoiceninja/invoiceninja/releases/download/v5.0-release/invoiceninja.zip) -* Unzip the folder and configure a virtual host with your webserver of choice. -* Point your browser to http://your.domain.com/setup -* Configure your MySQL database, Mail server and other fields and click on Setup. -* Done!!! - -> Invoice Ninja 2.0 requires at least PHP 7.3, MySQL / MariaDB \ No newline at end of file diff --git a/Installing-Invoice-Ninja.md b/Installing-Invoice-Ninja.md new file mode 100644 index 0000000..b39c0fe --- /dev/null +++ b/Installing-Invoice-Ninja.md @@ -0,0 +1,40 @@ +# Installation. (release tag v5.0) + +* Download the release [here](https://github.com/invoiceninja/invoiceninja/releases/download/v5.0-release/invoiceninja.zip) +* Unzip the folder and configure a virtual host with your webserver of choice. +* Point your browser to http://your.domain.com/setup +* Configure your MySQL database, Mail server and other fields and click on Setup. +* Done!!! + +> Invoice Ninja 2.0 requires at least PHP 7.3, MySQL / MariaDB + +### Example nginx config + + server { + + listen 80; + server_name invoiceninja.test; + root /var/www/invoiceninja/public; + index index.php index.html index.htm; + location / { + try_files $uri $uri/ =404; + } + + if (!-e $request_filename) { + rewrite ^(.+)$ /index.php?q= last; + } + + location ~* /logo/.*\.php$ { + return 503; + } + + location ~ \.php$ { + include snippets/fastcgi-php.conf; + fastcgi_pass unix:/run/php/php7.4-fpm.sock; + } + + location ~ /\.ht { + deny all; + } + + }