- Python (version 3.9)
- Django (version 4.2.5)
-
Clone the repository:
git clone https://github.com/Archeeyadav/SearchEngine.git cd SearchEngine -
Create a virtual environment and activate it:
python -m venv env source env/bin/activate -
Install project dependencies:
pip install -r requirements.txt
-
Migrate the database:
python manage.py migrate
-
Start the development server:
python manage.py runserver
To populate your project's database with default data, you can use the following commands:
-
Access the Django shell:
python manage.py shell
-
In the Python shell, run the following commands to load default data:
from user.dump_data import load_data load_data()
This will populate your database with default data if it's empty.
