| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 43c602d commit ba37db7
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,20 +1,20 @@ | |||
| 1 | - #!flask/bin/python | ||
| 2 | - from app.quick_acg.quick_acg_app import quick_acg_app | ||
| 3 | - from flask_session import Session | ||
| 4 | - import os | ||
| 5 | - | ||
| 6 | - quick_acg_app.config["QUICK_ACG"] = True | ||
| 7 | - os.environ['OAUTHLIB_INSECURE_TRANSPORT'] = '1' | ||
| 8 | - | ||
| 9 | - if os.environ.get("DEBUG", False) == "True": | ||
| 10 | - quick_acg_app.config["DEBUG"] = True | ||
| 11 | - quick_acg_app.config['SESSION_TYPE'] = 'filesystem' | ||
| 12 | - sess = Session() | ||
| 13 | - sess.init_app(quick_acg_app) | ||
| 14 | - port = int(os.environ.get("PORT", 3000)) | ||
| 15 | - quick_acg_app.run(host="localhost", port=3000, debug=True) | ||
| 16 | - else: | ||
| 17 | - quick_acg_app.config['SESSION_TYPE'] = 'filesystem' | ||
| 18 | - sess = Session() | ||
| 19 | - sess.init_app(quick_acg_app) | ||
| 20 | - quick_acg_app.run(host="localhost", port=3000, debug=True) | ||
| 1 | + #!flask/bin/python | ||
| 2 | + from app.quick_acg.quick_acg_app import quick_acg_app | ||
| 3 | + from flask_session import Session | ||
| 4 | + import os | ||
| 5 | + | ||
| 6 | + quick_acg_app.config["QUICK_ACG"] = True | ||
| 7 | + os.environ['OAUTHLIB_INSECURE_TRANSPORT'] = '1' | ||
| 8 | + | ||
| 9 | + if os.environ.get("DEBUG", False) == "True": | ||
| 10 | + quick_acg_app.config["DEBUG"] = True | ||
| 11 | + quick_acg_app.config['SESSION_TYPE'] = 'filesystem' | ||
| 12 | + sess = Session() | ||
| 13 | + sess.init_app(quick_acg_app) | ||
| 14 | + port = int(os.environ.get("PORT", 3000)) | ||
| 15 | + quick_acg_app.run(host="localhost", port=3000, debug=True) | ||
| 16 | + else: | ||
| 17 | + quick_acg_app.config['SESSION_TYPE'] = 'filesystem' | ||
| 18 | + sess = Session() | ||
| 19 | + sess.init_app(quick_acg_app) | ||
| 20 | + quick_acg_app.run(host="localhost", port=3000, debug=True) | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,15 +2,15 @@ | |||
| 2 | 2 | import sys | |
| 3 | 3 | import subprocess | |
| 4 | 4 | ||
| 5 | + # pip install DocuSign SDK | ||
| 6 | + subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'docusign_esign']) | ||
| 7 | + | ||
| 5 | 8 | from docusign_esign import ApiClient | |
| 6 | 9 | from docusign_esign.client.api_exception import ApiException | |
| 7 | 10 | from app.jwt_helpers import get_jwt_token, get_private_key | |
| 8 | 11 | from app.eSignature.examples.eg002_signing_via_email import Eg002SigningViaEmailController | |
| 9 | 12 | from app.jwt_config import DS_JWT | |
| 10 | 13 | ||
| 11 | - # pip install DocuSign SDK | ||
| 12 | - subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'docusign_esign']) | ||
| 13 | - | ||
| 14 | 14 | SCOPES = [ | |
| 15 | 15 | "signature", "impersonation" | |
| 16 | 16 | ] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments