How to install Invoice Ninja on Laravel Forge?

Reading Time: < 1 minute

Step 1: Download Latest Release

Download the latest release from Github. Extract and upload it to your webserver to the folder before your public or public_html folder.

Step 2:

cd /home/mysite/
sudo php artisan key:generate

Step 3:

sudo php artisan optimize

Step 4:

Edit your .env file and edit the following values if you are running behind a load balancer/proxy

DB_HOST=localhost
DB_DATABASE=ninja
DB_USERNAME=ninjauser
DB_PASSWORD="1234567890"

Step 4:

Edit your .env file and edit the following values if you are running behind a load balancer/proxy

APP_URL=https://billing.samsure.sh
TRUSTED_PROXIES=*

Step 5:

sudo php artisan optimize

Leave a Reply