The project currently consists of 4 branches:
- master - production code ready
- develop - development merge of all feature branches
- server - feature branch for web server in Django
- retrieval-engine - feature branch for image retrieval engine using ML/DL/IR approaches
In order to test the components together develop should be merged into current branch first. When the feature on the current branch is complete then only it needs to be merged into develop. This applies to both feature branches. When all individual branches are working properly then they need to be merged into develop and if all works well then that paricular code will be merged into master branch.
The application can be initiated in the following manner but it has some prerequisites.
Python (Use Python 3) virtualenv must be installed in the system. More details on this link about installation and usage -> https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/
-
Clone the repository in the virtualenv directory created. (For example the virtualenv directory name is venv)
cd venv
On Linux and MacOS
source bin/activate
On Windows
\env\Scripts\activate.bat
git clone https://github.com/tarunlnmiit/irtex-1.0.git
-
Change into server directory named irtex and run the following commands
cd irtex pip install -r requirements.txt
-
Finally the server can be started using the following command
python3 manage.py runserver
The server will be default start to run at http://127.0.0.1:8000