Mental illness in India is still taboo. The World Health Organization has declared India as one of the most depressed countries in the year 2018-19. India is a developing country that has transformed itself in plenty of ways but despite that, when it comes to mental health, there is a long way to go.
In order to address the issue of mental health problems amongst the youth, we have come up with an all-in-one web portal - "FIGHT THE MIND”
Download the ZIP file and extract the files on your desktop
There are 2 ways to run the code on your system -
- Without using requirements.txt
- Using requirements.txt
- Make sure python is installed in your system and the PATH to python has been set in your enviroment variables (If Python is not installed in your system, see the section 'How to install python on your local desktop' for the steps involved)
- Navigate to ftm-django-main directory
- Type 'cmd' in the URL of the directory to open the command line
- The command line opens with the 'ftm-django-main' as the working directory
- Install virtual environment using 'pip install virtualenv' command
- Create a virtual environment using 'virtualenv venv' command
- Activate the virtual enviroment using '.\venv\Scripts\activate'
- If that gives an error use 'source venv/Scripts/activate'
- Install django using 'pip install django' command
- Install the Pillow package using 'python -m pip install Pillow'
- Run 'python manage.py runserver' to run the project in your system
- Make sure python is installed in your system and the PATH to python has been set in your enviroment variables (If Python is not installed in your system, see the section below for the steps involved)
- Navigate to ftm-django-main directory
- Type 'cmd' in the URL of the directory to open the command line
- The command line opens with the 'ftm-django-main' as the working directory
- Install virtual environment using 'pip install virtualenv' command
- Create a virtual environment using 'virtualenv venv' command
- Activate the virtual enviroment using '.\venv\Scripts\activate'
- If that gives an error use 'source venv/Scripts/activate'
- Install the required packages to run this code using 'pip install -r requirements.txt'
- Run 'python manage.py runserver' to run the project in your system
- Navigate to https://www.python.org/downloads/ and download the latest version of python
- While installation make sure to click the 'Add Python 3.9 to PATH' option and then select the Install Now option
- After installing, open command line and run 'python --version' command that shows you the version of the python installed in your system
- If your command line was already open while installing python, close it and open it again and the above command
- If the python version is shown then it means that you can run python/pip commands using the command line otherwise the PATH has not been set properly
- If the "Permission Denied" message comes, check out this link https://stackoverflow.com/questions/56974927/permission-denied-trying-to-run-python-on-windows-10 , close the command line and start it again.