Skip to content

jaypeerachai/SO-Tags-Predictor-with-Chrome-Extension

Repository files navigation

SO-Tags-Predictor-with-Chrome-Extension

Flask Setting

  1. Create a virtual environment (e.g. python -m venv <venv_name>)
  2. Activate the virtual environment (i.e. source <venv_name>/bin/activate)
  3. Go to the extension folder (e.g. cd <extension_folder>)
  4. Install the dependencies (i.e. pip install -r requirements.txt)
  5. Specify the project as a Flask application (i.e. export FLASK_APP=TagsPredictor.py; for Bash and set FLASK_APP=TagsPredictor for CMD))
  6. Run the application (i.e. flask run)

Chrome Extension Setting

  1. Open chrome://extensions in the Chrome browser
  2. Click on the Developer Mode button
  3. Click on the Load unpacked button
  4. Select the extension folder
  5. Enable the extension