The Vendor Management System is a comprehensive application designed to facilitate vendor management. The system allows you to handle vendor performance, purchase orders, and other crucial data through a set of RESTful APIs.
Follow these steps to install and set up the Vendor Management System:
- Clone the Repository:
git clone https://github.com/naveens800/vendor_management_system.git
- Navigate to the Project Directory:Enter the project directory to proceed with further steps.
cd vendor_management_system
- Create a virtual environment to keep your dependencies isolated.
python3 -m venv <env_name>
- Activate the virtual environment using the command below:
Linux/macOS: > source <env_name>/bin/activate
Windows: > <env_name>\Scripts\activate
- Once the virtual environment is activated, install the required dependencies.
pip install -r requirements.txt
- Apply the migrations to set up the necessary database tables.
python manage.py migrate
- Verify the functionality by running tests. You have two options:
Standard Test Execution:
python manage.py test #python manage.py test --parallel
- Load sample data to populate the application with predefined information which lets you run and test the APIs immediately.
python manage.py loaddata sample_data.json
- Finally, start the Django development server to begin using the application.
python manage.py runserver