Welcome to My First Django Project: Lead Management Playground! π This project is a small and tiny playground I've built to explore and learn Django.
- User Registration and Login: New users can easily create an account and Existing users can securely log in to their accounts! πͺπ
- Lead Management: Easily add, view, update, and delete lead records with just a few clicks. πΌβοΈ
To bring this project to life, I've utilized an incredible lineup of technologies and tools:
- Django: The superheroic web framework that forms the sturdy backbone of this project. πͺπΈοΈ
- HTML, CSS, and Bootstrap: The dynamic trio of HTML, CSS, and Bootstrap were the driving forces behind the front-end development of this project π¨π
- MySQL: The database management system used to store and manage your data efficiently. Say hello to seamless data management! πΎποΈ
-
Clone the repository:
git clone https://github.com/UmakanthKaspa/DjangoCRM.git
-
(Optional) Set up a virtual environment (recommended):
- Create a virtual environment:
python3 -m venv env
- Activate the virtual environment:
- For macOS and Linux:
source env/bin/activate
- For Windows:
.\env\Scripts\activate
- For macOS and Linux:
- Create a virtual environment:
-
Install Django and other dependencies:
pip3 install django mysql mysql-connector
-
Navigate to the project directory:
cd DjangoCRM/DjangoCRM
-
Update the database configuration in
settings.py
:- Locate the
DATABASES
dictionary in thesettings.py
file. - Update the
'USER'
and'PASSWORD'
fields with your MySQL database credentials. - Save the changes.
- Locate the
-
(Optional) Create the MySQL database:
- Open your MySQL client (e.g., MySQL Workbench, phpMyAdmin) and log in with your credentials.
- Create a new database named
DjangoCRMdb
. - Update the
settings.py
file with your database name.
-
Apply database migrations:
python3 manage.py makemigrations python3 manage.py migrate
-
Create a superuser (admin):
python3 manage.py createsuperuser
-
Start the development server:
python3 manage.py runserver
-
Open your preferred browser and visit
http://localhost:8000