This guide will walk you through setting up both the Python and Node.js environments for this project.
- Python 3.x
- Node.js (Latest LTS version recommended)
- npm (Comes with Node.js)
-
Create a Virtual Environment
Navigate to your project directory and create a new virtual environment:
python -m venv venv
-
Activate the Virtual Environment
Choose the appropriate command for your operating system:
Windows:
.\venv\Scripts\activate
macOS/Linux:
source venv/bin/activateYou should see
(venv)appear at the beginning of your command prompt, indicating the virtual environment is active. -
Install Python Dependencies
With the virtual environment activated, install the required packages:
pip install -r server/flaskserver/requirements.txt
-
Navigate to Node Server Directory
cd server/nodeserver -
Install Dependencies
npm install
-
Start Development Server
npm run dev
project/
├── server/
│ ├── flaskserver/
│ │ └── requirements.txt
│ └── nodeserver/
│ ├── package.json
│ └── ...
└── ...
- The Flask server handles backend Python operations
- The Node.js server runs the frontend development environment
If you encounter any issues:
- Ensure your Python and Node.js versions are compatible with the project
- Check that all paths are correct for your operating system
- Verify that the virtual environment is activated before installing Python packages
- Make sure all required ports are available and not in use by other applications
Please read our contributing guidelines before submitting pull requests to the project.
This project is licensed under the [LICENSE NAME] - see the LICENSE file for details.