A website designed to evaluate user's mood through a mood wheel selection, photo capture, or image upload. It then generates a Spotify playlist matching the identified emotional state.
Miniconda is a minimal installer for Conda, a package and environment management system. Download and install Miniconda from the official site:
- Open your terminal.
- Navigate to root directory
mood-music/
- Create a virtual environment:
python -m venv venv
- Activate the virtual environment:
- Windows:
Note for Windows Users: If you encounter a "running scripts is disabled" error when activating the virtual environment, run PowerShell as Administrator and execute:
venv\Scripts\activate
Set-ExecutionPolicy Unrestricted -Scope CurrentUser
- macOS and Linux:
source venv/bin/activate
- Windows:
- Install required Python packages:
pip install -r requirements.txt
Download and install Node.js from the official website:
This ensures that Node.js is properly initialized.
Navigate to project's root directory in terminal and run:
npm install
- Activate the virtual environment:
- Windows:
.venv\Scripts\activate
- macOS and Linux:
source venv/bin/activate
- Windows:
- Start the server:
python run.py
The application will run in development mode. Open http://localhost:3000 in your browser to view it.