Spaces:
Configuration error
Configuration error
Commit
·
bca379c
1
Parent(s):
48d1301
Updated how-to instructions.
Browse files
README.md
CHANGED
|
@@ -13,58 +13,66 @@ Resumate is a simple web app that helps you generate a tailored resume for a spe
|
|
| 13 |
|
| 14 |
---
|
| 15 |
|
| 16 |
-
##
|
| 17 |
|
| 18 |
-
1. **
|
| 19 |
-
- Click the "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
- Codespaces will automatically set up the environment.
|
| 21 |
-
2. **Install dependencies** (if not pre-installed):
|
| 22 |
-
```bash
|
| 23 |
-
pip install -r requirements.txt
|
| 24 |
-
```
|
| 25 |
-
3. **Run the app:**
|
| 26 |
-
```bash
|
| 27 |
-
python resumate.py
|
| 28 |
-
```
|
| 29 |
4. **Open the provided URL** in your browser to use the Gradio UI.
|
| 30 |
|
| 31 |
---
|
| 32 |
|
| 33 |
-
##
|
| 34 |
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
```bash
|
| 37 |
-
git clone https://github.com
|
| 38 |
cd resumate
|
| 39 |
```
|
| 40 |
-
|
| 41 |
```bash
|
| 42 |
python3 -m venv .venv
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
source .venv/bin/activate
|
| 44 |
```
|
| 45 |
-
|
| 46 |
```bash
|
| 47 |
pip install -r requirements.txt
|
| 48 |
```
|
| 49 |
-
|
| 50 |
```bash
|
| 51 |
python resumate.py
|
| 52 |
```
|
| 53 |
-
|
| 54 |
|
| 55 |
---
|
| 56 |
|
| 57 |
-
##
|
| 58 |
1. Go to your LinkedIn profile page
|
| 59 |
2. Click the "More" button (three dots)
|
| 60 |
3. Select "Save to PDF"
|
| 61 |
4. Wait for the download
|
| 62 |
5. Upload the PDF in the app
|
| 63 |
|
| 64 |
-
---
|
| 65 |
-
|
| 66 |
-
## License
|
| 67 |
-
MIT License
|
| 68 |
---
|
| 69 |
title: Resumate
|
| 70 |
colorFrom: blue
|
|
|
|
| 13 |
|
| 14 |
---
|
| 15 |
|
| 16 |
+
## Quickstart (Recommended: GitHub Codespaces)
|
| 17 |
|
| 18 |
+
1. **Fork this repository**
|
| 19 |
+
- Click the "Fork" button on GitHub to create your own copy of the repository.
|
| 20 |
+
2. **Add API keys as secrets**
|
| 21 |
+
- In your fork, go to **Settings > Secrets and variables > Codespaces**.
|
| 22 |
+
- Add secrets named `OPENAI_API_KEY` and `MODAL_API_KEY` with your API keys as values.
|
| 23 |
+
- These will be available as environment variables in your Codespace.
|
| 24 |
+
3. **Start a Codespace**
|
| 25 |
+
- Click the "Code" button on your fork and select "Open with Codespaces".
|
| 26 |
- Codespaces will automatically set up the environment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
4. **Open the provided URL** in your browser to use the Gradio UI.
|
| 28 |
|
| 29 |
---
|
| 30 |
|
| 31 |
+
## Running Locally with Virtualenv
|
| 32 |
|
| 33 |
+
|
| 34 |
+
> **Note:** The following instructions are for Linux systems. Python 3.10 or greater is required.
|
| 35 |
+
|
| 36 |
+
1. **Fork this repository:**
|
| 37 |
+
- Click the "Fork" button on GitHub to create your own copy of the repository.
|
| 38 |
+
2. **Clone your fork:**
|
| 39 |
```bash
|
| 40 |
+
git clone https://github.com/<your-username>/resumate.git
|
| 41 |
cd resumate
|
| 42 |
```
|
| 43 |
+
3. **Create a virtual environment:**
|
| 44 |
```bash
|
| 45 |
python3 -m venv .venv
|
| 46 |
+
```
|
| 47 |
+
4. **Set your API keys as environment variables:**
|
| 48 |
+
Add your API keys to `.venv/bin/activate`:
|
| 49 |
+
```bash
|
| 50 |
+
export OPENAI_API_KEY=your_openai_api_key
|
| 51 |
+
export MODAL_API_KEY=your_modal_api_key
|
| 52 |
+
```
|
| 53 |
+
5. **Activate the virtual environment:**
|
| 54 |
+
```bash
|
| 55 |
source .venv/bin/activate
|
| 56 |
```
|
| 57 |
+
6. **Install dependencies:**
|
| 58 |
```bash
|
| 59 |
pip install -r requirements.txt
|
| 60 |
```
|
| 61 |
+
7. **Run the app:**
|
| 62 |
```bash
|
| 63 |
python resumate.py
|
| 64 |
```
|
| 65 |
+
8. **Open the provided URL** in your browser to use the Gradio UI.
|
| 66 |
|
| 67 |
---
|
| 68 |
|
| 69 |
+
## LinkedIn PDF Export Instructions
|
| 70 |
1. Go to your LinkedIn profile page
|
| 71 |
2. Click the "More" button (three dots)
|
| 72 |
3. Select "Save to PDF"
|
| 73 |
4. Wait for the download
|
| 74 |
5. Upload the PDF in the app
|
| 75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
---
|
| 77 |
title: Resumate
|
| 78 |
colorFrom: blue
|