Skip to content

Latest commit

 

History

History
59 lines (52 loc) · 1.4 KB

README.md

File metadata and controls

59 lines (52 loc) · 1.4 KB

Alzheimer detection

This is the follow-up repository for the live recording tutorial on dev.to

Run locally

To run locally

  • Clone this repo:
     git clone https://github.com/SamyakGangwal/alzheimerDetection.git
    
  • Change directory into the folder:
     cd alzheimerDetection
    
  • Create a virtual environment:
     virtualenv -p python3.8 env
    
    You might opt for other dependencies management tools such as pipenv or venv. It's up to you.
  • Activate the environment:
    • For Linux and Mac machines
      source env/bin/activate
      
    • For Windows machine:
      .\env\Scripts\activate
      
  • Install the dependencies:
    pip install -r requirements.txt
    
  • Modify core/models.py if you are not using Cloudinary as your storage service.
    • From
      voice_record = models.FileField(upload_to="records", storage=RawMediaCloudinaryStorage())
    
    • To
      voice_record = models.FileField(upload_to="records")
    
  • Make migrations and migrate the database:
     python manage.py makemigrations
     python manage.py migrate
    
  • Finally, run the application:
     python manage.py runserver
    
    Visit http://localhost:8000 in your browser

Live version

This application is not currentlly live.