The Stock Management System is a powerful tool designed to help businesses keep track of their inventory seamlessly. In this blog post, we’ll guide you through the installation process and provide troubleshooting tips to ensure a smooth setup. We’ll also draw an analogy along the way to help clarify the code configuration.
Screenshots of the System
Login

Dashboard

Profile

Records

Modifying Records
Installation Steps
Follow these steps to install the Stock Management System:
- Add the following lines in
pathtoxamppapacheconfextrahttpd-vhosts.conf: - Add this in the
C:WindowsSystem32driversetchostsfile: - Make sure to restart XAMPP after completing steps 1 and 2.
- Import the database
project5.6from the SQL file present in the SQL folder. - Get your CurrencyLayer API Key from here and replace it in
pathtoprojectpublicdistjspage.jsat line number1439. This is essential for receiving live commodity rates on the dashboard. Don’t forget to clear your browser’s cache after editing. - Enter
project.devin your browser to visit the app, ensuring your XAMPP (Apache, MySQL) is running. - You’re done!
VirtualHost *:80
DocumentRoot pathtoxampphtdocs
ServerName localhost
VirtualHost
VirtualHost *:80
DocumentRoot pathtoprojectpublic
ServerName project.dev
VirtualHost
127.0.0.1 localhost
127.0.0.1 project.dev
Understanding the Configuration: An Analogy
Think of setting up the Stock Management System like building a new storefront for a retail business. Each configuration step is akin to setting up various parts of the store:
- **Adding Virtual Hosts**: This is like creating different store fronts for different brands. You set up a pathway for customers (or in this case, the server) to access each brand (or application).
- **Editing the Hosts File**: Similar to putting up a directory outside your store, your edits help direct traffic accurately, guiding customers to the right locations within your store.
- **Restarting XAMPP**: Just like opening hours that need to be reset to let customers in, restarting XAMPP ensures the new changes take effect.
- **Importing Database**: This is like stocking your store with products, ready for customers to browse and purchase.
- **Replacing the CurrencyLayer API Key**: Think of this step as acquiring your pricing tools to ensure you have the correct prices displayed to your customers.
- **Clearing Browser Cache**: This is akin to cleaning your storefront windows so that customers can see the fresh new products inside.
Troubleshooting Tips
If you encounter any issues during the setup, consider the following tips:
- If you receive an alert that the Editor Datatables trial has expired, download the editor-datatables JS/CSS files from Editor and replace the content in the CSS and JS folder located at
pathtoprojectpublicvendordatatables-editor. Remember to clear your cache after replacing these files. - Should you encounter bugs when editing tables, it may be due to the project’s JS file handling the editor-datatables becoming outdated. Check for updates or compatibility issues.
For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

