# Install Invoice Plane - Invoice and Payment Manager - On Windows

## What is Invoice Plane?

> [Invoice Plane is a] self-hosted open source application for managing your invoices, clients and payments.-https://www.invoiceplane.com/

## Installation

1. Download XAMPP Download
2. Download Invoice Plane Download
3. Download Microsoft Visual C++ Download
4. Install Microsoft Visual C++
5. Right click the downloaded XAMPP file > Extract All...
6. Right click the downloaded Invoice Plane .zip file > Extract All...
7. Rename the extracted folder invoiceplane
8. Cut the invoiceplane folder inside the XAMPP/htdocs directory
9. Copy the extracted XAMPP directory to a safe location to run from, C:\Program Files for example
10. Navigate into the XAMPP/htdocs/invoiceplane folder
11. Make a copy of the ipconfig.php.example and rename it ipconfig.php
12. Edit ipconfig.php in a text editor
13. Set the IP_URL value to http://DNSorIP/invoiceplane

    IP_URL=http://localhost/invoiceplane

14. Save the changes to ipconfig.php and close the text editor
15. Run XAMPP/setup_xampp.bat to update the configuration files with the new server location
16. Run XAMPP/xampp-control.exe
17. Click the Start button next to Apache and MySQL
18. Navigate to XAMPP/mysql/bin
19. Hold the SHIFT key and right click in the white space > Open PowerShell windows here...
20. Type the following in the PowerShell window to setup the database
    .\mysql -u root
    CREATE DATABASE invoice_plane;
    CREATE USER 'invoice_plane_rw'@'localhost' IDENTIFIED BY 'Inv0!c3Pl@n3!';
    GRANT ALL ON invoice_plane.* TO 'invoice_plane_rw'@'localhost';
    FLUSH PRIVILEGES;
    exit;
    exit

## Invoice Plane Web Installer

1. Open a web browser and navigate to http://DNSorIP/invoiceplane
2. The Invoice Plane Installation web installer should be load
3. Click the Setup button
4. Select a Language > Click Continue
5. Click Continue on the Prerequisites page
6. Complete the Database Details form as follows

   Hostname: localhost
   Port: 3306
   Username: invoice_plane_rw
   Password: Inv0!c3Pl@n3!
   Database: invoice_plane

7. Click the Try Again button then click Continue
8. Complete the Create User Account form > Click Continue
9. Back in File Explorer, navigate to XAMPP/htdocs/invoiceplane and edit ipconfig.php
10. Find the DISABLE_SETUP setting and change the value to true
11. Save the changes to ipconfig.php and close the text editor
12. Back in the browser, click the Login button
13. Login with the Email and Password setup during the installation
14. Welcome to Invoice Plane

Source: https://wiki.invoiceplane.com/en/1.0/getting-started/installation