Flask Setting
- Create a virtual environment (e.g.
python -m venv <venv_name>
) - Activate the virtual environment (i.e.
source <venv_name>/bin/activate
) - Go to the extension folder (e.g.
cd <extension_folder>
) - Install the dependencies (i.e.
pip install -r requirements.txt
) - Specify the project as a Flask application (i.e.
export FLASK_APP=TagsPredictor.py;
for Bash andset FLASK_APP=TagsPredictor
for CMD)) - Run the application (i.e.
flask run
)
Chrome Extension Setting
- Open
chrome://extensions
in the Chrome browser - Click on the
Developer Mode
button - Click on the
Load unpacked
button - Select the extension folder
- Enable the extension