@@ -139,7 +139,7 @@ To run this project, you will need to follow the given steps.
...
@@ -139,7 +139,7 @@ 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.
* Create a folder named *classifiers* inside the *FirstApp* folder.
* Create a folder named *classifiers* inside the *FirstApp* folder.
...
@@ -151,7 +151,7 @@ To run this project, you will need to follow the given steps.
...
@@ -151,7 +151,7 @@ To run this project, you will need to follow the given steps.
7. Once the static content is downloaded, include them in the project folder as follows.
7. Once the static content is downloaded, include them in the project folder as follows.
* Create a folder named *static* inside the project root folder.
* Create a folder named *static* inside the project root folder.
* Put the static content inside this folder.
* Put the static content inside this folder.
* Then open a command line in the project root folder and type *python manage.py collectstatic*. This will create another folder named *assets* inside the root folder.
* Then open a command line in the project root folder and type `python manage.py collectstatic`. This will create another folder named *assets* inside the root folder.
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.
...
@@ -162,7 +162,7 @@ To run this project, you will need to follow the given steps.
...
@@ -162,7 +162,7 @@ To run this project, you will need to follow the given steps.
* 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*.