Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
54 changes: 54 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Django Settings
SECRET_KEY=your-secret-key-here-generate-a-random-string
DEBUG=True
ENVIRONMENT=local

# Django settings module (use development settings by default)
# DJANGO_SETTINGS_MODULE=parts_webapi.settings.development

# Frontend Configuration
FRONTEND_ADDRESS=http://localhost:3000

# Database Configuration
# For SQLite (default in development):
DB_ENGINE=django.db.backends.sqlite3
# For PostgreSQL in production:
# DB_ENGINE=django.db.backends.postgresql
# DB_NAME=parts_webapi
# DB_USER=your_db_user
# DB_PASSWORD=your_db_password
# DB_HOST=localhost
# DB_PORT=5432

# For MySQL:
# DB_ENGINE=django.db.backends.mysql
# DB_NAME=parts_webapi
# DB_USER=your_db_user
# DB_PASSWORD=your_db_password
# DB_HOST=localhost
# DB_PORT=3306

# Email Configuration
EMAIL_FROM=noreply@parts3492.org
EMAIL_HOST=smtp.gmail.com
EMAIL_HOST_USER=your-email@gmail.com
EMAIL_HOST_PASSWORD=your-email-password
EMAIL_PORT=587

# Cloudinary Configuration
CLOUDINARY_URL=cloudinary://your-api-key:your-api-secret@your-cloud-name

# The Blue Alliance API
TBA_KEY=your-tba-api-key-here
TBA_WEBHOOK_SECRET=your-tba-webhook-secret

# Discord Integration
DISCORD_NOTIFICATION_WEBHOOK=https://discord.com/api/webhooks/your-webhook-url

# WebPush Configuration
VAPID_PUBLIC_KEY=your-vapid-public-key
VAPID_PRIVATE_KEY=your-vapid-private-key
VAPID_ADMIN_EMAIL=admin@parts3492.org

# Production Security Settings (set these in production only)
# SECURE_SSL_REDIRECT=True
68 changes: 0 additions & 68 deletions .github/workflows/test-and-coverage.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "Python: Django",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"program": "${workspaceFolder}/src/manage.py",
"args": [
"runserver"
],
Expand Down
Loading