Commit a26d2a7a authored by I.K Seneviratne's avatar I.K Seneviratne

Update README.md

parent 6bd2e1df
......@@ -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.
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`.
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.
......@@ -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.
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.
* 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*.
* Now select the *External libraries* section and your set of Python libraries.
* Go to *site-packages* folder and find the library named *pymongo*.
* 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.
* 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*.
* Go to *integrated_slpes/settings.py* file and locate the *DATABASES* variable.
* 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*.
* Now select the *External libraries* section and your set of Python libraries.
* Go to *site-packages* folder and find the library named *pymongo*.
* 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.
* 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*.
### Dependencies
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment