How to Install Invoice Ninja on Windows 10
Invoice Ninja is an open source invoicing and billing software that helps you to send professional invoices and track payments. In this tutorial, we will guide you on how to install Invoice Ninja on Windows 10.
Prerequisites
Before proceeding with the installation process, you need to ensure that your system meets the following requirements:
- Windows 10 installed on your PC
- PHP 7.4 or higher
- MySQL 5.7 or higher
- Apache 2.4 or higher
- Composer
Step 1: Download and Extract Invoice Ninja
- Visit the Invoice Ninja website and click on the
Downloadbutton. - Select the
Self-Hostedoption. - Download the latest version (ZIP file) of Invoice Ninja.
- Extract the ZIP file to your local system.
Step 2: Install Dependencies
Download and install the latest version of Composer on your system.
Open Command Prompt (CMD) on your system.
Navigate to the extracted folder (where you have extracted Invoice Ninja).
Run the following command to install the required dependencies:
composer install --no-dev --prefer-dist
Step 3: Configure Database
Create a new database for Invoice Ninja.
Navigate to the
configfolder in the extracted folder.Copy the
database.php.examplefile and rename it todatabase.php.Open the
database.phpfile in any text editor.Configure the database connection settings with the following parameters:
'driver' => 'mysql', 'host' => 'localhost', 'database' => 'invoice_ninja', 'username' => 'root', 'password' => 'root'Replace the values with your own database configuration values.
Step 4: Configure Virtual Host
Open the
httpd-vhosts.conffile in any text editor.Add the following code to configure a virtual host for Invoice Ninja:
<VirtualHost *:80> DocumentRoot "{path-to-your-invoice-ninja-folder}" ServerName invoiceninja.local </VirtualHost>Replace
{path-to-your-invoice-ninja-folder}with the path to your extracted Invoice Ninja folder.
Step 5: Start Apache and MySQL
- Open XAMPP Control Panel.
- Start Apache and MySQL services.
Step 6: Run Installation Wizard
- Open any web browser (preferably Google Chrome).
- Go to the following URL:
http://invoiceninja.local. - Follow the on-screen instructions and provide the necessary information.
- Click on the
Finishbutton to complete the installation process.
Step 7: Log in and Start Using
- Open any web browser.
- Go to the following URL:
http://invoiceninja.local. - Log in with the provided credentials during the installation process.
- You are now ready to use Invoice Ninja on Windows 10.
Congratulations! You have successfully installed Invoice Ninja on Windows 10.