The file tester.py
contains the extraction logic testing in standalone Python script.
The file test-doc.txt
is a text file containing the data in the given format for extracting the data
in the required order by the portal
To run the portal,
- install django and django-bootstrap3 :
[sudo] pip3 install --upgrade django django-bootstrap3
- in
terminal
,cd
intoconvo_test
folder. - execute:
python3 manage.py migrate
- execute:
python3 manage.py runserver
- open a browser and goto the link
localhost:8000/conversations
- select the txt file containing the information in the required format and press OK button.
To help in exploring the code:
- The code for rendering webpages of the portal, is in folder:
convo_test->conversations->views.py
- The data model is in
convo_test->conversations->models.py
- And the algorithm is in
convo_test->conversations->algo.py