Installation Guide for Smart Resume Generator
This document provides detailed instructions for installing all dependencies required for the Smart Resume Generator application.
Prerequisites
- Python 3.8 or higher
- pip (Python package manager)
- Git (for cloning the repository)
Basic Installation
Clone the repository:
git clone https://github.com/yourusername/Smart-Resume-Generator.git cd Smart-Resume-Generator
Install Python dependencies:
pip install -r requirements.txt
Create a
.env
file in the project root and add your API keys:GEMINI_API_KEY=your_gemini_api_key_here
Installing wkhtmltopdf (Required for PDF Generation)
The application requires wkhtmltopdf for PDF generation. Follow the instructions below for your operating system:
Linux (Ubuntu/Debian)
sudo apt-get update
sudo apt-get install wkhtmltopdf
macOS
Using Homebrew:
brew install wkhtmltopdf
Windows
- Download the installer from wkhtmltopdf downloads page
- Run the installer and follow the instructions
- Add the installation directory to your system PATH
Verifying wkhtmltopdf Installation
To verify that wkhtmltopdf is correctly installed, open a terminal/command prompt and run:
wkhtmltopdf --version
You should see version information if the installation was successful.
Running the Application
Start the main App:
python main.py
Open your browser and navigate to the URL provided by Streamlit (typically http://localhost:8501)
Troubleshooting
PDF Generation Issues
If you encounter errors with PDF generation:
- Ensure wkhtmltopdf is properly installed
- Verify that it's in your system PATH
- Try running a simple wkhtmltopdf command to confirm it works:
wkhtmltopdf https://google.com test.pdf
API Connection Issues
If the frontend can't connect to the API:
- Ensure the API server is running (
python main.py
) - Check that the API_BASE_URL in app.py matches your API server address
- Default is http://localhost:8000
For Developers
When developing locally, you can use:
uvicorn main:app --reload
This enables hot-reloading for the API server during development.