For correct operation, DepressMind requires the installation of Node JS, MongoDB and some backend dependencies. Below are the necessary steps for the installation of dependencies:
$ sudo apt-get update
$ sudo apt install Node.js
$ sudo apt install npm
$ curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
$ echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
$ sudo apt-get update
$ sudo apt install mongodb-org
$ sudo systemctl start mongod.service
DepressMind runs a Flask api that process the petitions and redirects them to a Python backend. We provide a requirements.txt
file that encapsulates all the necessary dependencies:
$ git clone git@github.com:roque-fernandez/DepressMind.git
$ cd DepressMind/
$ pip install -r requirements.txt
Once all the prerequistes have been installed, we can deploy DepressMind in our machine just running:
$ sh deployment.sh
In the following link, we present a video in which you can see in more detail how to interact with DepressMind.
For a greater adoption of this tool, we are currently working on deploying this app in an open server. We already have a preliminary version (here), but due to project limitations it is currently hosted on a server with few resources, which does not favor a good performance for some massive analysis. It is in our plans to migrate it to a machine with higher capacities.