This project uses Flask for the backend and Vue.js (with Vite) for the frontend. Below are the instructions to start development and production builds.
- Python 3.x
- Node.js (with npm)
-
Install the required Python packages:
pip3 install -r requirements.txt
-
Run the Flask server in development mode:
flask --debug run
-
Navigate to the
frontend
folder:cd frontend
-
Install the frontend dependencies:
npm install
-
Start the frontend development server:
npm run dev
The frontend will now be served by Vite on its local development server.
To build the frontend for production, run:
npm run build
This will generate the production files in the dist folder inside the frontend directory.
To run the Flask server in production mode:
flask run