Skip to content
lampii edited this page May 25, 2022 · 2 revisions

Installation. (release tag v5.0)

  • The new Invoice Ninja has been completely rewritten so do not overwrite your old InvoiceNinja setup with these file, create a completely new virtual host.

  • Download the release here

  • Unzip the folder and configure a virtual host with your webserver of choice.

  • Set a cron job for the scheduler.

    * * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1

  • 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 requires at least PHP 7.3, MySQL / MariaDB Server

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 ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}

location ~ /\.ht {
    deny all;
}

}