.env.development !!top!!
Before diving into the specific file, let's establish the foundation. An .env file (short for "environment") is a simple text file containing key-value pairs that define environment variables for your application.
if env('ENVIRONMENT') == 'development': DEBUG = True DATABASES['default'] = env.db('DEV_DATABASE_URL') .env.development
# Use "Sandbox" or "Test" keys here, never your production secrets Before diving into the specific file, let's establish
: Using a local development database rather than the live production database. Before diving into the specific file
# .env.development NEXT_PUBLIC_GOOGLE_MAPS_KEY=dev_test_key_123 DATABASE_URL="postgresql://user@localhost:5432/dev_db"