-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
60 lines (45 loc) · 1.49 KB
/
.env.example
File metadata and controls
60 lines (45 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Environment Variables
Copy this file to `.env` and fill in your values.
## Required
```bash
# Database (PostgreSQL with PostGIS)
DATABASE_URL=postgresql://user:password@localhost:5432/vibemap
```
## Optional (Real-Time Data)
```bash
# OpenWeatherMap API (free tier: 1000 calls/day)
# Get key: https://home.openweathermap.org/api_keys
OPENWEATHER_API_KEY=your_openweather_api_key
# Reddit API (free: 60 requests/minute)
# Create app: https://www.reddit.com/prefs/apps
REDDIT_CLIENT_ID=your_reddit_client_id
REDDIT_CLIENT_SECRET=your_reddit_client_secret
# Google Places API (free tier available)
# Venue data uses OpenStreetMap (no key needed)
# GOOGLE_PLACES_API_KEY= # not required
# Twitter/X API (paid: $100+/month for Basic)
# Only needed if you want X sentiment instead of Reddit
TWITTER_BEARER_TOKEN=your_twitter_bearer_token
# Enterprise API Key (for /v1/enterprise/* endpoints)
# Generate a strong random key for production
ENTERPRISE_API_KEY=your_enterprise_api_key_here
```
## Application Settings
```bash
# App configuration
APP_NAME=Vibemap
APP_VERSION=1.0.0
DEBUG=false
# Vibe calculation settings
VIBE_DECAY_HOURS=24.0
VIBE_RADIUS_METERS=500.0
# Genesis Anchor coordinates
GENESIS_LAT=25.7997
GENESIS_LON=-80.1986
GENESIS_NAME="Genesis Anchor - Wynwood"
```
## Notes
- All real-time data sources have free tiers
- If API keys are not provided, the system uses simulated data
- Reddit API is the recommended free alternative to X/Twitter
- Keep your `.env` file private (never commit to git)