CoolFace
Apppublic

ehiaborsuccess/OutreachAI

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
deployment_guide.md37 linesDownload Raw Back to root
1# Deployment Guide: Access OutreachAI on Your Phone 📱2 3To use OutreachAI on your mobile device, you need to make the server accessible over the internet. Here are the two best ways to do it:4 5---6 7## Option 1: The Quick Way (Local Tunnel) ⚡8*Best for: Testing immediately without moving your files.*9 101.  **Install Ngrok**: Download it from [ngrok.com](https://ngrok.com/).112.  **Start your App**: Run `uvicorn backend.main:app --host 0.0.0.0 --port 5050` in your terminal.123.  **Start Ngrok**: In a new terminal window, type:13    ```bash14    ngrok http 505015    ```164.  **Open on Phone**: Ngrok will give you a "Forwarding" URL (e.g., `https://random-id.ngrok-free.app`). Open this URL on your phone's browser!17 18---19 20## Option 2: The Permanent Way (Cloud Hosting) ☁️21*Best for: Using the app anytime, even when your laptop is closed.*22 231.  **Move to GitHub**: Upload your `JOB APPLICATION` folder to a private GitHub repository.242.  **Use Render.com**:25    - Sign up for a free account at [Render](https://render.com/).26    - Create a new **Web Service** and connect your GitHub repo.27    - **Runtime**: Python28    - **Build Command**: `pip install -r requirements.txt`29    - **Start Command**: `python -m uvicorn backend.main:app --host 0.0.0.0 --port $PORT`303.  **Add Envs**: In the Render settings, add your `SMTP_PASSWORD` and `OPENAI_API_KEY` to the **Environment** section.314.  **Access**: Render will give you a permanent URL (e.g., `outreach-ai.onrender.com`) that works anywhere!32 33---34 35> [!IMPORTANT]36> I have already updated the code to use **Relative Paths**, so your CV will be attached correctly no matter where you host it!37