-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
25 lines (18 loc) · 3.31 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# AUTH0
export AUTH0_DOMAIN="korzhyk-app.us.auth0.com"
export JWT_CODE_SIGNING_SECRET="UwbJRQgpYJI9Sq_6i2GjuR10a8cSG9luenl6geSoOGgFXho7PjvRw5A39OC6e56q"
export AUTH0_ID="a0mzLPX0PZ6KPWVGo058FFCUUNwShqIN"
export ALGORITHMS=["RS256"]
export API_AUDIENCE="app"
export CLIENT_ID="a0mzLPX0PZ6KPWVGo058FFCUUNwShqIN"
export AUTH0_CALLBACK_URL="http://localhost:5000"
export AUTH0_LOGIN_URL="http://localhost:5000"
export AUTH0_LOGOUT_URL="http://localhost:5000"
# AUTH0 tokens
export READER_TOKEN="eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjFoRHk4TDczSUFfVDZuVEw3Y08zeSJ9.eyJpc3MiOiJodHRwczovL2tvcnpoeWstYXBwLnVzLmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHw2MTVlMjMwZWZlMzliYjAwNjkyMTJkMTQiLCJhdWQiOlsiYXBwIiwiaHR0cHM6Ly9rb3J6aHlrLWFwcC51cy5hdXRoMC5jb20vdXNlcmluZm8iXSwiaWF0IjoxNjMzNzA2MDU2LCJleHAiOjE2MzM4NzYwNTYsImF6cCI6ImEwbXpMUFgwUFo2S1BXVkdvMDU4RkZDVVVOd1NocUlOIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInBlcm1pc3Npb25zIjpbImdldDphdXRob3JzIiwiZ2V0OmJvb2tzIl19.gSMRYg6-VoPHH1sb2L-koWeiGHPjBvCRdxw2rHGDX4YKiRbURAptgseTZeftTLmfYzNcikVzacjThf6RUPIcZB_Qmaouo_wjxNQnubCttV_YqaRSRvkBjB4Cms4yLx6n5m7SLlfBl4BQSmVva1Vt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k_IbcG6ihBw"
export EDITOR_TOKEN="eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjFoRHk4TDczSUFfVDZuVEw3Y08zeSJ9.eyJpc3MiOiJodHRwczovL2tvcnpoeWstYXBwLnVzLmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHw2MTVlMjc4YzFlMzhkOTAwNjg1YmIyNzUiLCJhdWQiOlsiYXBwIiwiaHR0cHM6Ly9rb3J6aHlrLWFwcC51cy5hdXRoMC5jb20vdXNlcmluZm8iXSwiaWF0IjoxNjMzNzA2MjMwLCJleHAiOjE2MzM4NzYyMzAsImF6cCI6ImEwbXpMUFgwUFo2S1BXVkdvMDU4RkZDVVVOd1NocUlOIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInBlcm1pc3Npb25zIjpbImRlbGV0ZTphdXRob3IiLCJkZWxldGU6Ym9vayIsImdldDphdXRob3JzIiwiZ2V0OmJvb2tzIiwicGF0Y2g6YXV0aG9yIiwicGF0Y2g6Ym9vayIsInBvc3Q6YXV0aG9yIiwicG9zdDpib29rIl19.BQjAXxJdIXrRWpxK_Z65pvNPNZdIKL5klLcuxoVJj49bgR3z4nDehvpY0x-8SOA9tu4xutBa-b14p3mFfNrZY1i5dbFzxc6M086JsjEQ5VdNu4wQReOf5SjnR9DrKqJ_YloF-NeTPgbyvyGvsoG3dAPUpF5wfNIdlanUsDPwAJ2JN_cb-8Vo5a4sxsspFLsiboMxWcdkhg0vhbjtUk9O-ZmRV7Uex8EdJzRI7XGXwKd1sO6LZgjZZUlY9glRO69UWnwRwBWq_bFkgdGH91MHDfDyETZd_U00z3Ct108ZXTR85yEvbZtr_bZdOTuoGsln8Ct_cTjjTw8TS9ZuY2Haog"
# DATABASE
export PASSWORD="cavilosa1"
export DATABASE_URL="postgresql://cavilosa:cavilosa1@localhost:5432/publishing_house"
export TEST_DATABASE_URL="postgresql://cavilosa:cavilosa1@localhost:5432/test_publishing_house"