Set up Alvea instance
This commit is contained in:
parent
de76557326
commit
7141e4336e
25
common/envs/alvea.ts
Normal file
25
common/envs/alvea.ts
Normal file
|
@ -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?',
|
||||
],
|
||||
}
|
|
@ -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]
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# This sets which EnvConfig is deployed to Firebase Cloud Functions
|
||||
|
||||
NEXT_PUBLIC_FIREBASE_ENV=DEV
|
||||
NEXT_PUBLIC_FIREBASE_ENV=ALVEA
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# This sets which EnvConfig is deployed to Firebase Cloud Functions
|
||||
|
||||
NEXT_PUBLIC_FIREBASE_ENV=PROD
|
||||
NEXT_PUBLIC_FIREBASE_ENV=ALVEA
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user