mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-09 11:28:14 +08:00
Rename dashboard to optuna_dashboard
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import argparse
|
||||
from bottle import run
|
||||
|
||||
from dashboard.app import create_app
|
||||
from .app import create_app
|
||||
|
||||
|
||||
def main():
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"description": "Dashboard for Goptuna",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"fmt": "prettier --write \"dashboard/static/**/*.{ts,tsx}\"",
|
||||
"fmt": "prettier --write \"optuna_dashboard/static/**/*.{ts,tsx}\"",
|
||||
"watch": "webpack --watch",
|
||||
"build": "webpack",
|
||||
"build:dev": "NODE_ENV=development webpack",
|
||||
|
||||
+3
-3
@@ -6,7 +6,7 @@
|
||||
"noUnusedLocals": true,
|
||||
"noImplicitThis": true,
|
||||
"alwaysStrict": true,
|
||||
"outDir": "./dashboard/public/",
|
||||
"outDir": "./optuna_dashboard/public/",
|
||||
"paths": {
|
||||
"plotly.js-dist": ["node_modules/@types/plotly.js"]
|
||||
},
|
||||
@@ -21,10 +21,10 @@
|
||||
"strict": true
|
||||
},
|
||||
"files": [
|
||||
"./dashboard/static/index.tsx"
|
||||
"./optuna_dashboard/static/index.tsx"
|
||||
],
|
||||
"include": [
|
||||
"./dashboard/static/types/**/*"
|
||||
"./optuna_dashboard/static/types/**/*"
|
||||
],
|
||||
"types": ["node"]
|
||||
}
|
||||
|
||||
+2
-2
@@ -14,9 +14,9 @@ if (isDev) {
|
||||
|
||||
var config = {
|
||||
mode,
|
||||
entry: [__dirname + '/dashboard/static/index.tsx'],
|
||||
entry: [__dirname + '/optuna_dashboard/static/index.tsx'],
|
||||
output: {
|
||||
path: __dirname + '/dashboard/public/',
|
||||
path: __dirname + '/optuna_dashboard/public/',
|
||||
filename: 'bundle.js',
|
||||
publicPath: '/public/'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user