PDK directory revised
This commit is contained in:
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
@@ -1,2 +1,4 @@
|
|||||||
# mxpic_EDA
|
# mxpic_EDA
|
||||||
The EDA coding for the layout for optihk
|
The EDA coding for the layout for optihk
|
||||||
|
# requirements
|
||||||
|
flask
|
||||||
Binary file not shown.
+1
-1
@@ -9,7 +9,7 @@ import database # Imports the database.py you created earlier
|
|||||||
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
FRONTEND_DIR = os.path.join(BASE_DIR, '..', 'frontend')
|
FRONTEND_DIR = os.path.join(BASE_DIR, '..', 'frontend')
|
||||||
YML_PATH = os.path.join(BASE_DIR, 'directories.yaml')
|
YML_PATH = os.path.join(BASE_DIR, 'directories.yaml')
|
||||||
COMPS_ROOT = os.path.join(BASE_DIR, 'PDK_libs')
|
COMPS_ROOT = os.path.join(BASE_DIR, '..\\PDK_libs')
|
||||||
|
|
||||||
# Initialize Flask, pointing to the frontend folder for HTML/CSS/JS
|
# Initialize Flask, pointing to the frontend folder for HTML/CSS/JS
|
||||||
app = Flask(__name__, template_folder=FRONTEND_DIR, static_folder=FRONTEND_DIR)
|
app = Flask(__name__, template_folder=FRONTEND_DIR, static_folder=FRONTEND_DIR)
|
||||||
|
|||||||
Reference in New Issue
Block a user