Hi Hausiowen, You can find (mostly) everything a developer may be interested in at Dashboard's HACKING.rst (https://github.com/ceph/ceph/blob/754e08017714543d71835c0deb3853603567f2b4/src/pybind/mgr/dashboard/HACKING.rst, I'm sending you that commit because Github is not rendering that doc in the master HEAD commit). You can delete all front-end code, and it will still work because Angular/Typescript code is 'transpiled' into Javascript code (frontend/dist subdir), so you don't directly run the 'code' version of the dashboard. So, answering your specific question, you may either: - Run from build/ subdir: "make mgr-dashboard-frontend-build", and then restart dashboard to reload new front-end ("ceph mgr module disable dashboard && ceph mgr module enable dashboard"), - Use the development mode front-end Angular provides, which performs incremental auto-builds every time you save a change: rename proxy.conf.json.sample to proxy.conf.json and add the backend port and HTTP/S proto and run "npm run start" (this will run a new front-end server in a different port than the ceph-mgr one). Let us know if that was of help to you! Kind Regards, Ernesto Ernesto Puerta He / Him / His Senior Software Engineer, Ceph Red Hat On Mon, Jun 24, 2019 at 4:37 PM seribe pasada <clear60enator@xxxxxxxxx> wrote: > > Hi dev, > Nice to meet you > I want to modify the code from ceph dashboard > I try to modify the code from /usr/lib/ceph/mgr/dashboard/frontend, but the web do noting even I delete all frontend folder. > I guess the frontend should built to the /frontend/dist folder by angular or nodejs; however, both of the methods is failed. > Can you tell me how to build or run the frontend code I modify to the web? > > Thank you very much > > Best regards > Hausiowen Nayu > _______________________________________________ > Dev mailing list -- dev@xxxxxxx > To unsubscribe send an email to dev-leave@xxxxxxx _______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx