A simple ITR(Information Retrievel System) using DRF(Django Rest Framework) and JS
Clone the repo using the command
git clone https://github.com/Himanshu372/Search-Box.git
on your local system
The application is contaierized.
After cloning the repo, run the following command at the docker-compose-local.yml file level
docker-compose -f docker-compose-local.yml up web
This will start http-server and Django server at 8080 and 8000 ports respectively
Executing custom management command
Keep the text data file at the level of manage.py and execute the command
python manage.py populate_db --filename
From the file database will get populated
Executing tests
For executing tests, use the following command at the 'backend' directory level inside the repo
./manage.py test backend.tests.{test_filename}