Sudaisy,

When you build atlas then it will take all the *dashboardv2* code
(javascipt code) and put it inside "
*<atlas_root_dir>/distro/target/apache-atlas-<your_version>-SNAPSHOT-bin/apache-atlas-*
*<your_version>**-SNAPSHOT/server/webapp/atlas*" now you are making chnages
in *dashboardv2* folder and expecting your changes to be refelected but
server is refering the javascript code from the above path

So after you done with the javascript changes you have to rebuild the code.

So I would suggest insted of rebuild run the grunt server (UI proxy
server). which will give you the idea of how new build show the UI after
your changes. if you are ok with your changes then rebuild the atlas it
will copy all your new changes and place it in above path.

Please find below steps to run the local grunt server.

   1. go to *dashboardv2 *folder
   2. Run *npm install*
   3. now run *npm run dev*
   4. now go to browser and enter* http://localhost:9999
   <http://localhost:9999>*

*npm run dev *will start the local proxy UI server which is pointing to
your local atlas server i.e *http://**localhost:21000.*


Thanks,
Keval Bhatt

On Wed, Nov 28, 2018 at 6:36 PM daisy su <[email protected]> wrote:

> Hi Sir :
>     I am a graduate student from China,and I am a learner for apache
> atlas.I have some problems and I want to ask you for help.I deployed atlas
> on the server and it runs normally. I want to make some changes to the web
> view, then I modified javascript, but it didn't work. The JavaScript I
> added is not reflected in chrome. I want to ask how to make it work, and
> how to debug JavaScript step by step.
>    Thank you, and I look forward to hearing from you.
>
>
>
>
>
>
> Sincerely,
> Su Qiuyue
> College of Computer Science,Sichuan University
>

Reply via email to