A web-app that extracts the 20 most common words from .pdf, .doc and .txt files.
- Clone this repository:
- Install dependencies:
cd Toothbrush/project/requirements; pip install -r base_win.txt; python -c "import nltk; nltk.download('stopwords'); nltk.download('punkt')"
if on Windows, orcd Toothbrush/project/requirements && pip install -r base.txt && python -c "import nltk; nltk.download('stopwords'); nltk.download('punkt')"
if on Mac/Linux - Set a environment variable for
DJANGO_TOOTHBRUSH_SECRET_KEY
- Run migrations:
cd ../..; python manage.py makemigrations; python manage.py makemigrations toothpaste
if on Windows, orcd ../.. && python manage.py makemigrations && python manage.py makemigrations toothpaste
if on Mac/Linux - Migrate database:
python manage.py migrate
- Run the application:
python manage.py runserver