forked from Nelson-972/python-ares
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.py
More file actions
32 lines (21 loc) · 608 Bytes
/
run.py
File metadata and controls
32 lines (21 loc) · 608 Bytes
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
26
27
28
29
30
31
"""
To run this framework you need the below python external modules installed.
- flask
- flask_SQLAlchemy
- flask_login
- cryptography
The easiest way to configure your enviroment is to use
pip install packageName
To set the proxy you can use the below command:
SET HTTPS_PROXY=http://login:password@
This should work with both Python 2.7 and Python 3.x
"""
import sys
import os
from app import app, init_db
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
sys.path.append(os.path.join(BASE_DIR, 'Libs'))
app.debug = True
init_db()
app.run(threaded=True)
#app.run(threaded=True)