diff --git a/common/envs/alvea.ts b/common/envs/alvea.ts new file mode 100644 index 00000000..d904e417 --- /dev/null +++ b/common/envs/alvea.ts @@ -0,0 +1,25 @@ +import { EnvConfig, PROD_CONFIG } from './prod' + +export const ALVEA_CONFIG: EnvConfig = { + domain: 'alvea.manifold.markets', + firebaseConfig: { + apiKey: 'AIzaSyDT5D8IUGRfT9a1bNYb-1b-RGm1JOHoW7Y', + authDomain: 'alvea-manifold.firebaseapp.com', + projectId: 'alvea-manifold', + storageBucket: 'alvea-manifold.appspot.com', + messagingSenderId: '854070403258', + appId: '1:854070403258:web:b8b5f303bc97d010882283', + measurementId: 'G-QHP8V3BM54', + }, + cloudRunId: '', // TODO: fill in real ID + cloudRunRegion: 'uc', + adminEmails: [...PROD_CONFIG.adminEmails], + whitelistEmail: '@alveavax.com', + moneyMoniker: 'A$', + visibility: 'PRIVATE', + faviconPath: '/theoremone/logo.ico', + navbarLogoPath: '/theoremone/TheoremOne-Logo.svg', + newQuestionPlaceholders: [ + 'Will we have at least 5 new team members by the end of this quarter?', + ], +} diff --git a/common/envs/constants.ts b/common/envs/constants.ts index 0502322a..f0721273 100644 --- a/common/envs/constants.ts +++ b/common/envs/constants.ts @@ -1,4 +1,5 @@ import { escapeRegExp } from 'lodash' +import { ALVEA_CONFIG } from './alvea' import { DEV_CONFIG } from './dev' import { EnvConfig, PROD_CONFIG } from './prod' import { THEOREMONE_CONFIG } from './theoremone' @@ -9,6 +10,7 @@ const CONFIGS: { [env: string]: EnvConfig } = { PROD: PROD_CONFIG, DEV: DEV_CONFIG, THEOREMONE: THEOREMONE_CONFIG, + ALVEA: ALVEA_CONFIG, } export const ENV_CONFIG = CONFIGS[ENV] diff --git a/functions/.env.dev b/functions/.env.dev index b5aae225..9039d995 100644 --- a/functions/.env.dev +++ b/functions/.env.dev @@ -1,3 +1,3 @@ # This sets which EnvConfig is deployed to Firebase Cloud Functions -NEXT_PUBLIC_FIREBASE_ENV=DEV +NEXT_PUBLIC_FIREBASE_ENV=ALVEA diff --git a/functions/.env.prod b/functions/.env.prod index 0c4303df..9039d995 100644 --- a/functions/.env.prod +++ b/functions/.env.prod @@ -1,3 +1,3 @@ # This sets which EnvConfig is deployed to Firebase Cloud Functions -NEXT_PUBLIC_FIREBASE_ENV=PROD +NEXT_PUBLIC_FIREBASE_ENV=ALVEA diff --git a/web/package.json b/web/package.json index 5f39d174..8f3e43f7 100644 --- a/web/package.json +++ b/web/package.json @@ -9,6 +9,7 @@ "devdev": "cross-env NEXT_PUBLIC_FIREBASE_ENV=DEV yarn dev", "dev:dev": "yarn devdev", "dev:the": "cross-env NEXT_PUBLIC_FIREBASE_ENV=THEOREMONE yarn dev", + "dev:alvea": "cross-env NEXT_PUBLIC_FIREBASE_ENV=ALVEA yarn dev", "dev:local": "cross-env NEXT_PUBLIC_FUNCTIONS_URL=http://localhost:8080 yarn devdev", "dev:emulate": "cross-env NEXT_PUBLIC_FIREBASE_EMULATE=TRUE yarn devdev", "build": "next build",