Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 821 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 821 Bytes

TP-FOUILLE

Structure

fct.py : This file contains the implementation of three algorithms (Apriori, Improved Apriori, and Close).

app.py: This file contains the function calls to the algorithms and connects the front-end and back-end of the application.

How to run it

1-Open a terminal window and navigate to the root directory of the Flask project.

2-Create a virtual environment for the project using the following command: python3 -m venv venv

3-Activate the virtual environment using the following command: source venv/bin/activate

4- Install the required dependencies by running the following command:pip install -r requirements.txt

5- Set the Flask app environment variable by running the following command:export FLASK_APP=app.py

6-Run the Flask app using the following command: flask run