Appearance
Deployment & Operational Guide
Summary
This guide covers environment initialization, OAuth2 credential configuration for LinkedIn API, setting up NotebookLM auth, and deploying automated cron execution.
1. Prerequisites
- Python 3.10+
- Virtual environment (
.venv) nlmCLI installed for Google NotebookLM authentication- LinkedIn Developer App (Client ID & Client Secret)
2. Quick Start Installation
bash
# 1. Clone repository & navigate to directory
cd /home/kizamladjanijebac/Documents/antigravity/elegant-franklin
# 2. Activate virtual environment
source .venv/bin/activate
# 3. Install dependencies
pip install -r requirements.txt
# 4. Copy environment template
cp .env.example .env3. LinkedIn OAuth2 Setup
Run the interactive OAuth2 authorization generator to obtain your Access Token & Refresh Token:
bash
python setup_linkedin_auth.pyFollow the browser prompt to log in, grant permissions, and save tokens directly into your .env configuration file.
4. NotebookLM Authentication Setup
Ensure your NotebookLM session is authenticated:
bash
nlm loginVerify connection using health check:
bash
python main.py --action health5. Live Production Runner (run_live.sh)
For automated cron scheduling or production execution, execute the shell runner script:
bash
chmod +x run_live.sh
./run_live.sh --live