The Medicine Shop Automation Software’s purpose is to automate Medicine Shop management and ease the shop owner’s workload. It is a convenient and easy-to-use application for the shop owner who has to deal with managing the medicine shop’s inventories and undergo various types of procedures involving transactions with vendors of the medicines and customers who buy the medicines. The system is based on a relational database with its Medicine Inventory and Transaction Records. It can handle efficient storage of data and provides the user with various functionalities. Above all, the software aims to provide a comfortable user experience to the medicine shop owners.
Python must be installed on your computer. Go to link to get detailed instructions for installing the latest version of python on the Linux platform.
Django must be installed on your computer. Go to link to get detailed instructions for installing the latest version of Django on the Linux platform.
A browser must be installed in order to run the software.
In order to test the code, you need to install the coverage package. A simple command as below should work or you may go to the link for further installation instructions.
pip install coverageDownload the project's source file from Moodle Website. Then go to the command line and enter into the directory in which you have downloaded the files.
cd DownloadsThen change your directory to the msa folder.
cd msaThen run the following commands step by step.
python manage.py runserverThis will open the software in your browser. Use the details below in order to log in and use the software, you can change the password later.
python manage.py createsuperuserYou will be asked to enter your username, email, and password. Please do so in order to create a super user successfully. After that run the command below and proceed with the new login details.
python manage.py runserverThe software is completely self-explanatory.
Go to the directory of the software having the manage.py file.
cd Downloads/msaIn this directory, run the following commands in order to automatedly test the software.
The below command runs all the test cases.
coverage run manage.py testThe below command gives the coverage report.
coverage reportThe below command generates an index.html that can be opened in the browser which gives a detailed report of all the tests performed.
The index.html file is provided along with the software. This file is generated on our side.
coverage htmlThe above command also generates such a file. It is located in
msa/htmlcov/index.html