fix: move debug , deploy to super admin children
This commit is contained in:
parent
6a90488d0a
commit
0470184363
9 changed files with 10 additions and 25 deletions
|
|
@ -2,18 +2,5 @@
|
||||||
|
|
||||||
ROOT_DIR=/app
|
ROOT_DIR=/app
|
||||||
|
|
||||||
# Replace env vars in JavaScript files
|
|
||||||
echo "Replacing env constants in JS"
|
|
||||||
for file in $ROOT_DIR/assets/app.*.js* $ROOT_DIR/js/app.*.js* $ROOT_DIR/index.html $ROOT_DIR/precache-manifest*.js;
|
|
||||||
do
|
|
||||||
echo "Processing $file ...";
|
|
||||||
|
|
||||||
sed -i 's|VITE_COMPETITIVE_EXAM_PANEL|'${VITE_COMPETITIVE_EXAM_PANEL}'|g' $file
|
|
||||||
sed -i 's|VITE_QUALIFY_DISABLE_EMAM_PANEL|'${VITE_QUALIFY_DISABLE_EMAM_PANEL}'|g' $file
|
|
||||||
sed -i 's|VITE_QUALIFY_EXAM_PANEL|'${VITE_QUALIFY_EXAM_PANEL}'|g' $file
|
|
||||||
sed -i 's|VITE_S3CLUSTER_PUBLIC_URL|'${VITE_S3CLUSTER_PUBLIC_URL}'|g' $file
|
|
||||||
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Starting Nginx"
|
echo "Starting Nginx"
|
||||||
nginx -g 'daemon off;'
|
nginx -g 'daemon off;'
|
||||||
Binary file not shown.
BIN
public/documents/chapter-4-superadmin-build-and-deploy.pdf
Normal file
BIN
public/documents/chapter-4-superadmin-build-and-deploy.pdf
Normal file
Binary file not shown.
|
|
@ -17,6 +17,15 @@
|
||||||
{
|
{
|
||||||
"label": "การใช้งานผู้ดูแลระบบระดับสูง",
|
"label": "การใช้งานผู้ดูแลระบบระดับสูง",
|
||||||
"path": "/manual/chapter-2-superadmin-maintenance"
|
"path": "/manual/chapter-2-superadmin-maintenance"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
|
||||||
|
"label": "คู่มือการตรวจสอบและแก้ไข",
|
||||||
|
"path": "/manual/chapter-3-superadmin-debug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "คู่มือการจัดการระบบ",
|
||||||
|
"path": "/manual/chapter-4-superadmin-build-and-deploy"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -157,17 +166,6 @@
|
||||||
"path": "/manual/chapter-11-user-retire"
|
"path": "/manual/chapter-11-user-retire"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"icon": "mdi-file-outline",
|
|
||||||
"activeIcon": "mdi-file",
|
|
||||||
"label": "คู่มือการตรวจสอบและแก้ไข",
|
|
||||||
"path": "/debug"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"icon": "mdi-file-outline",
|
|
||||||
"activeIcon": "mdi-file",
|
|
||||||
"label": "คู่มือการจัดการระบบ",
|
|
||||||
"path": "/build-and-deploy"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue