Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

An Introductory Stock Management System built on PHP, jQuery with AJAX in MVC pattern.

Notifications You must be signed in to change notification settings

haxxorsid/stock-management-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stock-Management-System

Screenshots

Login

Login

Dashboard

Dashboard

Profile

Profile

Records

Records

Modifying Records

Modifying Records

How to install

  1. Add this lines in path/to/xampp/apache/conf/extra/httpd-vhosts.conf:
<VirtualHost *:80>
    DocumentRoot "path/to/xampp/htdocs"
    ServerName localhost
</VirtualHost>


<VirtualHost *:80>
    DocumentRoot "path/to/project/public"
    ServerName project.dev
</VirtualHost>
  1. Add this in C:\Windows\System32\drivers\etc\hosts file:
127.0.0.1 localhost
127.0.0.1 project.dev 
  1. Make sure you restart xampp after following step 1 & 2.
  2. Import database "project5.6" from sql file present in sql folder.
  3. Get your CurrencyLayer API Key from here and replace it in path/to/project/public/dist/js/page.js line number 1439. This is for receiving live commodity rates in dashboard. Don't forget to clear cache of browser after editing.
  4. Enter "project.dev" in browser to visit the app, make sure your XAMPP(Apache, MySQL) is running.
  5. Done

Note

If incase you're receiving alert that Editor Datatables trial has expired, download the editor-datatable's JS/CSS files from Editor and replace the content in css & js folder present in path/to/project/public/vendor/datatables-editor. Don't forget to clear cache after replacing files. If you are recieving some bugs in editing tables, maybe the project's js file handling the editor-datatables has became out of date.