@@ -138,7 +138,7 @@ The following software tools needed to be installed before running this project
...
@@ -138,7 +138,7 @@ The following software tools needed to be installed before running this project
To run this project, you will need to follow the given steps.
To run this project, you will need to follow the given steps.
1. Clone the repository to a desired location in your machine.
1. Clone the repository to a desired location in your machine.
2. In this location, open the command line and create a virtual environment by typing *conda create -n <ENV_NAME>*. (if this command does not work, type *CALL conda.bat create -n <ENV_NAME>*)
2. In this location, open the command line and create a virtual environment by typing `conda create -n <ENV_NAME>`. (if this command does not work, type `CALL conda.bat create -n <ENV_NAME>`)
3. To download all the dependencies, run the command `pip install -r requirements.txt`.
3. To download all the dependencies, run the command `pip install -r requirements.txt`.
4. To download the classifiers, visit [here](https://drive.google.com/drive/folders/1xIZfX47owHUXYqN13hchQ4waVW5UE5rp?usp=sharing)
4. To download the classifiers, visit [here](https://drive.google.com/drive/folders/1xIZfX47owHUXYqN13hchQ4waVW5UE5rp?usp=sharing)
5. Once the classifiers are downloaded, include them in the application folders as follows.
5. Once the classifiers are downloaded, include them in the application folders as follows.
...
@@ -155,14 +155,14 @@ To run this project, you will need to follow the given steps.
...
@@ -155,14 +155,14 @@ To run this project, you will need to follow the given steps.
8. Now open this project in the PyCharm IDE.
8. Now open this project in the PyCharm IDE.
9. Before running the project, the url of the database needs to be configured. The steps are as follows.
9. Before running the project, the url of the database needs to be configured. The steps are as follows.
* Go to *integrated_slpes/settings.py* file and locate the *DATABASES* variable.
* Go to *integrated_slpes/settings.py* file and locate the *DATABASES* variable.
* Inside the variable named *default*, copy the value under the variable *HOST*.
* Inside the variable named *default*, copy the value under the variable *HOST*.
* Then in the left sidebar, select the *project* tab and from the dropdown the upper right corner, select the option *project*.
* Then in the left sidebar, select the *project* tab and from the dropdown the upper right corner, select the option *project*.
* Now select the *External libraries* section and your set of Python libraries.
* Now select the *External libraries* section and your set of Python libraries.
* Go to *site-packages* folder and find the library named *pymongo*.
* Go to *site-packages* folder and find the library named *pymongo*.
* From this library, open a file named *mongo_client.py* in the IDE.
* From this library, open a file named *mongo_client.py* in the IDE.
* In this file, there is a variable named *HOST* inside the *MongoClient* class. Now the replace the value in this variable with the copied url value.
* In this file, there is a variable named *HOST* inside the *MongoClient* class. Now the replace the value in this variable with the copied url value.
* Then go back to the terminal and type the command `python manage.py runserver`. The server will be opened in the address *127.0.0.1:8000*.
* Then go back to the terminal and type the command `python manage.py runserver`. The server will be opened in the address *127.0.0.1:8000*.