File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,14 +58,16 @@ export default defineNuxtConfig({
5858 demoOrgSlug : process . env . DEMO_ORG_SLUG || ( isRailwayPreview ? 'reqcore-demo' : '' ) ,
5959 /** Public live-demo account email used to prefill sign-in */
6060 liveDemoEmail :
61- process . env . LIVE_DEMO_EMAIL
61+ process . env . NUXT_PUBLIC_LIVE_DEMO_EMAIL
62+ || process . env . LIVE_DEMO_EMAIL
6263 || process . env . DEMO_EMAIL
6364 || 'demo@reqcore.com' ,
6465 /** Public URL for hosted plan upsell CTA shown in preview mode modals */
6566 hostedPlanUrl : process . env . NUXT_PUBLIC_HOSTED_PLAN_URL || 'https://reqcore.com' ,
6667 /** Public live-demo secret used to prefill sign-in */
6768 liveDemoSecret :
68- process . env . LIVE_DEMO_SECRET
69+ process . env . NUXT_PUBLIC_LIVE_DEMO_SECRET
70+ || process . env . LIVE_DEMO_SECRET
6971 || process . env . DEMO_PASSWORD
7072 || 'demo1234' ,
7173 /** Whether in-app feedback via GitHub Issues is enabled */
Original file line number Diff line number Diff line change 22 * Seeds the database with realistic demo data for Reqcore.
33 *
44 * Creates:
5- * - 1 demo user (demo@reqcore.com / demo1234)
5+ * - 1 demo user (DEMO_EMAIL env / demo@reqcore.com · DEMO_PASSWORD env / demo1234)
66 * - 1 organization ("Reqcore Demo")
77 * - 5 jobs with varying statuses
88 * - 30 candidates
@@ -45,7 +45,7 @@ if (!DATABASE_URL) {
4545 process . exit ( 1 )
4646}
4747
48- const DEMO_EMAIL = 'demo@reqcore.com'
48+ const DEMO_EMAIL = process . env . DEMO_EMAIL ?? 'demo@reqcore.com'
4949const DEMO_PASSWORD = process . env . DEMO_PASSWORD ?? 'demo1234'
5050const DEMO_ORG_NAME = 'Reqcore Demo'
5151const DEMO_ORG_SLUG = 'reqcore-demo'
You can’t perform that action at this time.
0 commit comments