You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Frontend Development

Follow the instructions here to ease frontend development for Admin View (ambari-admin module):

  1. Follow the Quick Start Guide to install Ambari Server (cluster need not be deployed).
  2. Follow the "Frontend Development" section in Quick Start Guide to checkout the Ambari source using git.  This makes the Ambari source available via /vagrant/ambari from the Vagrant VM.
  3. From the Ambari Server host:
    1. cd /var/lib/ambari-server/resources/views/work
    2. mv ADMIN_VIEW\{1.0.0\} /tmp
    3. ln -s /vagrant/ambari/ambari-admin/src/main/resources/ui/admin-web/dist/ADMIN_VIEW\{1.0.0\}
    4. cp /tmp/ADMIN_VIEW\{1.0.0\}/view.xml ADMIN_VIEW\{1.0.0\} 
  4. Now you can change the source code for Admin View and run gulp locally, and the changes are automatically reflected on the server.

 

 

  • No labels