Scaffold Atlas2 instance
This commit is contained in:
parent
53759f412f
commit
35b5183787
30
common/envs/atlas2.ts
Normal file
30
common/envs/atlas2.ts
Normal file
|
@ -0,0 +1,30 @@
|
|||
import { EnvConfig, PROD_CONFIG } from './prod'
|
||||
|
||||
export const ATLAS2_CONFIG: EnvConfig = {
|
||||
domain: 'atlas2.manifold.markets',
|
||||
firebaseConfig: {
|
||||
apiKey: 'AIzaSyApmYeDGc4wGAAXKsdsx1h1WQBWqj5U2lA',
|
||||
authDomain: 'atlas2-manifold.firebaseapp.com',
|
||||
projectId: 'atlas2-manifold',
|
||||
storageBucket: 'atlas2-manifold.appspot.com',
|
||||
messagingSenderId: '466243568587',
|
||||
appId: '1:466243568587:web:c725617dd393bca76fec4e',
|
||||
measurementId: 'G-YL3CW8Y62X',
|
||||
},
|
||||
cloudRunId: 'TODO',
|
||||
cloudRunRegion: 'TODO',
|
||||
|
||||
adminEmails: [...PROD_CONFIG.adminEmails],
|
||||
whitelistEmail: '',
|
||||
moneyMoniker: '📎',
|
||||
fixedAnte: 25,
|
||||
startingBalance: 500,
|
||||
visibility: 'PRIVATE',
|
||||
// navbarLogoPath: '/atlas/atlas-logo-white.svg',
|
||||
newQuestionPlaceholders: [
|
||||
'Will we have at least 5 new team members by the end of this quarter?',
|
||||
'Will we meet or exceed our goals this sprint?',
|
||||
'Will we sign on 3 or more new clients this month?',
|
||||
'Will Paul shave his beard by the end of the month?',
|
||||
],
|
||||
}
|
|
@ -1,4 +1,5 @@
|
|||
import { escapeRegExp } from 'lodash'
|
||||
import { ATLAS2_CONFIG } from './atlas2'
|
||||
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,
|
||||
ATLAS2: ATLAS2_CONFIG,
|
||||
}
|
||||
|
||||
export const ENV_CONFIG = CONFIGS[ENV]
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"dev": "concurrently -n NEXT,TS -c magenta,cyan \"next dev -p 3000\" \"yarn ts --watch\"",
|
||||
"devdev": "cross-env NEXT_PUBLIC_FIREBASE_ENV=DEV concurrently -n NEXT,TS -c magenta,cyan \"cross-env FIREBASE_ENV=DEV next dev -p 3000\" \"cross-env FIREBASE_ENV=DEV yarn ts --watch\"",
|
||||
"dev:dev": "yarn devdev",
|
||||
"dev:atlas2": "cross-env NEXT_PUBLIC_FIREBASE_ENV=ATLAS2 concurrently -n NEXT,TS -c magenta,cyan \"cross-env FIREBASE_ENV=ATLAS2 next dev -p 3000\" \"cross-env FIREBASE_ENV=ATLAS2 yarn ts --watch\"",
|
||||
"dev:the": "cross-env NEXT_PUBLIC_FIREBASE_ENV=THEOREMONE concurrently -n NEXT,TS -c magenta,cyan \"cross-env FIREBASE_ENV=THEOREMONE next dev -p 3000\" \"cross-env FIREBASE_ENV=THEOREMONE yarn ts --watch\"",
|
||||
"dev:emulate": "cross-env NEXT_PUBLIC_FIREBASE_EMULATE=TRUE yarn devdev",
|
||||
"ts": "tsc --noEmit --incremental --preserveWatchOutput --pretty",
|
||||
|
|
Loading…
Reference in New Issue
Block a user