Project Name: Inventory Management System Django
Technologies Used: Python with Django Web Framework
Database: SQLite
Type: Web Application
Developer: Lahcen
After you finish downloading the project, unzip the project file and navigate to the project root folder.
Creating a virtual environment is a good practice to manage dependencies. You can create and activate a virtual environment using the following commands:
Create a virtual environment :
python -m venv env
Activate the virtual environment (Windows) :
env\Scripts\activate
Activate the virtual environment (macOS/Linux) :
source env/bin/activate
Open your Terminal/Command Prompt in the project's root folder and install the required packages using:
pip install -r requirements.txt
Run the following commands to make and apply the database migrations:
python manage.py makemigrations
then :
python manage.py migrate
After a successful migration, start the Django development server with:
python manage.py runserver
Open your favorite web browser and go to the following URL:
http://127.0.0.1:[PORT_NUMBER]/
For the Admin Login credentials, you need to create a superuser. Run the following command and follow the prompts to create a superuser:
python manage.py createsuperuser