Deploy AngularJS app on tomcat

Martin picture Martin · Nov 18, 2015 · Viewed 29k times · Source

I created an AngularJS app with the yeoman angular generator. Now I want to host it using Apache tomcat.

I already ran "grunt build" and have all my assets ready in the "dist"-folder. Is there a way to create a .war-file or can I just copy the files to a folder inside tomcat?

Answer

Ghayel picture Ghayel · Nov 18, 2015

Just copy paste your all files in your project folder e.g. $TOMCAT_PATH/webapps/your-project-root/

Cheers!!