Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Commit 0eb1913

Browse files
committed
Add new env variables
1 parent 3835381 commit 0eb1913

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Diff for: test-gui

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
#!/bin/bash
22
source venv/bin/activate
3+
export FLASK_CONFIG=config.DevConfig
34
export FLASK_APP=open_energy_view
45
export FLASK_ENV=production
56
export SECRET_KEY=dev
67
export JWT_SECRET_KEY=dev
78
export JWT_BLACKLIST_ENABLED=True
89
export JWT_TOKEN_LOCATION=cookies
9-
export JWT_ACCESS_COOKIE_PATH=/api/web/
10+
export JWT_ACCESS_COOKIE_PATH=/
1011
export JWT_REFRESH_COOKIE_PATH=/api/web/token/refresh
1112
export JWT_COOKIE_CSRF_PROTECT=True
1213
export PROD_JWT_COOKIE_SECURE=True
1314
export DEV_JWT_COOKIE_SECURE=False
1415
export PROD_DATABASE_URI=sqlite:///../test/data/energy_history_test.db
1516
export DEV_DATABASE_URI=sqlite:///../test/data/energy_history_test.db
16-
export CLIENT_ID=client_id
17-
export CLIENT_SECRET=client_secret
17+
export PGE_CLIENT_ID=client_id
18+
export PGE_CLIENT_SECRET=client_secret
19+
export GOOGLE_CLIENT_ID=GOOGLE_CLIENT_ID
20+
export GOOGLE_CLIENT_SECRET=GOOGLE_CLIENT_SECRET
21+
export OAUTHLIB_INSECURE_TRANSPORT=True
22+
export CERT_PATH=test/cert/cert.crt
23+
export KEY_PATH=test/cert/private.key
24+
export API_RESPONSE_KEY=xS5MqJ6N9CyH-hvqAGrmBVAxFMOyauMpdrdqCZa1eqo=
1825
flask run --host='0.0.0.0'

0 commit comments

Comments
 (0)