Changes:
- Removed --admin-password argument (no longer needed)
- Password auto-generated: folder_name.lower().replace(' ', '')
- Each website has unique password
- No need to ask user for password
Examples:
- moreminimore → password: moreminimore
- My Website → password: mywebsite
- deal-plustech → password: deal-plustech
Benefits:
- Simple (same as folder name)
- Secure (different per project)
- No password management needed
- Not stored in git (in .env)
20 lines
559 B
Plaintext
20 lines
559 B
Plaintext
# Website Configuration
|
|
# Fill these after generating your website
|
|
|
|
# Umami Analytics (Optional - Self-hosted)
|
|
# Get from: Your Umami dashboard → Settings → Websites
|
|
UMAMI_WEBSITE_ID=
|
|
UMAMI_DOMAIN=analytics.example.com
|
|
|
|
# Admin Dashboard
|
|
# Change this before deploying to production!
|
|
ADMIN_PASSWORD=(auto-generated from folder name)
|
|
|
|
# Database (Optional - for production with Turso)
|
|
# ASTRO_DB_REMOTE_URL=libsql://your-db.turso.io
|
|
# ASTRO_DB_APP_TOKEN=your-turso-token
|
|
|
|
# Site Configuration
|
|
SITE_URL=https://your-domain.com
|
|
SITE_NAME="Your Website Name"
|