This is an automated email from the ASF dual-hosted git repository. smarru pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/airavata-sandbox.git
commit 9d915509adbe869b362c97fbdf4b5ae1dcb0db77 Author: Bhavesh Asanabada <62237873+bhavesh-as...@users.noreply.github.com> AuthorDate: Mon Sep 12 19:59:23 2022 +0530 Update README Changed the directory paths and reconfigured the run commands. --- gsoc2022/smilesdb/README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gsoc2022/smilesdb/README.md b/gsoc2022/smilesdb/README.md index 22ef8948..a1fa8470 100644 --- a/gsoc2022/smilesdb/README.md +++ b/gsoc2022/smilesdb/README.md @@ -88,11 +88,11 @@ connected clients across the distributed systems. On successful running of the server application, it shows a message as _"Server running successfully"_ and open connection with mongodb driver. -## Middleware (Django Application) +## RPC Handler (Django Application) Open a new terminal window and follow the steps to run the middleware application. 1. Change the working directory to SMILES middleware. ```commandline - cd ~/airavata-sandbox/gsoc2022/smilesdb/DjangoMiddleware + cd ~/airavata-sandbox/gsoc2022/smilesdb/rpc_handler ``` 2. Create a virtual environment using the following command. <br/> Strictly recommended to use Python version 3.8.3 to build the **grpcio-wheel**. @@ -109,7 +109,7 @@ Open a new terminal window and follow the steps to run the middleware applicatio ```commandline python manage.py runserver ``` -5. Open http://127.0.0.1:8000/api/calcinfo/ to check the data transmission from +5. Open http://127.0.0.1:8000/api/molecule/ to check the data transmission from the server application. On successful transmission, the data can also be visualized in the server terminal. @@ -123,17 +123,17 @@ and client application. To run the client application, open a new terminal window and follow the below steps 1. Change the working directory to SMILES Dashboard. ```commandline - cd ~/airavata-sandbox/gsoc2022/smilesdb/smiles_dashboard + cd ~/airavata-sandbox/gsoc2022/smilesdb/data-catalog ``` 2. Open the new terminal and run the following commands to build the project. ```commandline - npm install - npm run serve + yarn install + yarn run serve ``` 3. Open - http://localhost:8080/ for Login page. - - http://localhost:8080/SEAGrid for SEAGrid Homepage. - - http://localhost:8080/calcinfo for the live CalcInfo data synchronization. + - http://localhost:8080/home for SEAGrid Homepage. + - http://localhost:8080/search for the live data catalog. ## Database Management @@ -152,7 +152,7 @@ mentioned below. show dbs use smiles show collections - db.calcInfo.find() + db.molecule.find().pretty() ``` # References @@ -177,4 +177,4 @@ mentioned below. ## Contributor - Bhavesh Asanabada <br/> - [<img src="https://img.shields.io/badge/LinkedIn-0077B5?style=plastic&logo=linkedin&logoColor=white" />](https://www.linkedin.com/in/bhavesh-asana/) \ No newline at end of file + [<img src="https://img.shields.io/badge/LinkedIn-0077B5?style=plastic&logo=linkedin&logoColor=white" />](https://www.linkedin.com/in/bhavesh-asana/)