How to Install StockazNG on Windows 10

StockazNG is an open-source inventory management software designed to help businesses manage their inventory efficiently. In this tutorial, we will walk you through the steps to install StockazNG on Windows 10.

Prerequisites

Before you proceed with the installation process of StockazNG, you need to have the following prerequisites:

Step 1: Download the Latest Release

  1. Go to the StockazNG repository on GitHub: https://github.com/dashie/StockazNG/releases
  2. Download the latest release of StockazNG as a ZIP file.
  3. Extract the ZIP file to any location on your computer.

Step 2: Configure the Database

  1. Open your preferred web server software (Apache, Nginx).
  2. Go to the server configuration file (httpd.conf or nginx.conf).
  3. Make sure that PHP support is enabled in the server configuration file.
  4. Open php.ini file.
  5. Uncomment the following lines to enable the PHP extensions:
extension=mysqli.so``` 

6. Save and close the php.ini file.
7. Create a new database and user in MySQL or MariaDB with the following details:
    - Database name: stockazng
    - Database user: stockaznguser
    - Database password: your_password
    - Database host: localhost
8. Grant all privileges to the newly created user for the stockazng database.

## Step 3: Configure the StockazNG Application

1. Navigate to the directory where you extracted the StockazNG files.
2. Copy the `/config/app.default.php` file and rename it to `/config/app.php`.
3. Open the `/config/app.php` file in a text editor. 
4. Set the `DATABASE_HOST`, `DATABASE_NAME`, `DATABASE_USERNAME`, and `DATABASE_PASSWORD` according to the details of the database you created in Step 2.
5. Save and close the `/config/app.php` file.

## Step 4: Run the Web Server

1. Start your web server software (Apache or Nginx).
2. Navigate to the directory where you extracted the StockazNG files.
3. Open a command prompt or terminal window in that directory.
4. Type the following command to start the PHP built-in web server:

```php -S 127.0.0.1:8000 -t webroot```

5. Open a web browser and navigate to `http://127.0.0.1:8000` to access StockazNG.

Congratulations! You have successfully installed StockazNG on Windows 10. You can now start managing your inventory with this powerful inventory management software.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give [IPv6.rs](https://ipv6.rs) a try!

Alternatively, for the best virtual desktop, try <a href='https://www.shells.com/?_a=1Viyms'>Shells</a>!