-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·16 lines (13 loc) · 2.88 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# postgres db url for development and testing
export DATABASE_URL='postgresql://postgres:postgres@localhost:5432/casting-agency'
export TEST_DATABASE_URL='postgresql://postgres:postgres@localhost:5432/casting-agency-test'
# Auth0 configuration details
export AUTH0_DOMAIN='fsnd-domain.au.auth0.com'
export AUTH0_API_AUDIENCE='casting-agency'
# JWT Tokens to be used for testing
export CASTING_ASSISTANT_JWT='eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImVHV05lRm0zSW56T2RnVWx3ckNwZiJ9.eyJpc3MiOiJodHRwczovL2ZzbmQtZG9tYWluLmF1LmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHw2MDI2YWQwZmRlNTViYzAwNmZjMzNlNTkiLCJhdWQiOiJjYXN0aW5nLWFnZW5jeSIsImlhdCI6MTYxMzM4NDg4NCwiZXhwIjoxNjEzMzkyMDg0LCJhenAiOiJYZ0xMZmpEeEE4elpOd1B0WVhheFZUQk5XbmtPTnZtayIsInNjb3BlIjoiIiwicGVybWlzc2lvbnMiOlsiZ2V0OmFjdG9ycyIsImdldDptb3ZpZXMiXX0.S-P-vtYJBlkcb0bg9I3euMZaU99mjKRo9dDxjz-XFAyapwnQTjJGyglHr7Yp88yTQmNqUN_ODuNO3Xmb8OBm5zgzjwT_LUYaWqQGu5l97yor_zIxCGlAqyz84XdVCMP00o9Z8fkeMSDTI_RZuXrZknEv-pDSTIU2vxY0qmDk-RJWQ8Brjz5Ttib4Al2nEo-E__jK2ziigqdWYuUbKSnenOWlyORS-RG_MaAl5cuwjILB0gSzbu8iXTtzeZLtpPs576-9HoeQkLW6IUfgs_pHFfePO5C2g8WYCs4GMaXyhPfcSOL0Mt4_xdmY31ysaMBkfA93P22u9geY-SoB_nK0Iw'
export CASTING_DIRECTOR_JWT='eyJhbGciOiJSUzI1N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