Sam-Karanja / talk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fight The Mind

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”

How To Download The Code

Download the ZIP file and extract the files on your desktop

ftm4

There are 2 ways to run the code on your system -

  1. Without using requirements.txt
  2. Using requirements.txt

How To Run This Project on your local Desktop(without using requirements.txt file)

  1. 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)
  2. Navigate to ftm-django-main directory

ftm2

  1. Type 'cmd' in the URL of the directory to open the command line

ftm3

  1. The command line opens with the 'ftm-django-main' as the working directory
  2. Install virtual environment using 'pip install virtualenv' command
  3. Create a virtual environment using 'virtualenv venv' command
  4. Activate the virtual enviroment using '.\venv\Scripts\activate'
  5. If that gives an error use 'source venv/Scripts/activate'
  6. Install django using 'pip install django' command
  7. Install the Pillow package using 'python -m pip install Pillow'
  8. Run 'python manage.py runserver' to run the project in your system

How To Run This Project on your local Desktop(using requirements.txt file)

  1. 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)
  2. Navigate to ftm-django-main directory

ftm2

  1. Type 'cmd' in the URL of the directory to open the command line

ftm3

  1. The command line opens with the 'ftm-django-main' as the working directory
  2. Install virtual environment using 'pip install virtualenv' command
  3. Create a virtual environment using 'virtualenv venv' command
  4. Activate the virtual enviroment using '.\venv\Scripts\activate'
  5. If that gives an error use 'source venv/Scripts/activate'
  6. Install the required packages to run this code using 'pip install -r requirements.txt'
  7. Run 'python manage.py runserver' to run the project in your system

How To Install Python on your local Desktop

  1. Navigate to https://www.python.org/downloads/ and download the latest version of python
  2. While installation make sure to click the 'Add Python 3.9 to PATH' option and then select the Install Now option
  3. After installing, open command line and run 'python --version' command that shows you the version of the python installed in your system
  4. If your command line was already open while installing python, close it and open it again and the above command
  5. 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
  6. 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.

About


Languages

Language:HTML 65.2%Language:Python 31.7%Language:CSS 3.0%