Guest User

Untitled

a guest
Feb 21st, 2018
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. #Following runs the commands needed to link the framework and webapp
  2. #Add to your ~/.bash_profile
  3. function link_webapp {
  4. web_app_framework_dir="$HOME/path/to/web-app-framework/";
  5. webapp_dir="$HOME/path/to/webapp/";
  6. (cd "$web_app_framework_dir" && \
  7. npm run packagr && cd "./dist" && npm pack && \
  8. cd "$webapp_dir" && npm uninstall web-app-framework \
  9. && npm install ../web-app-framework/dist/web-app-framework-0.0.0.tgz \
  10. && npm install);
  11. }
Add Comment
Please, Sign In to add comment