You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.3 KiB
1.3 KiB
Quick Guide for Tomcat
-
Download and install the Tomcat server
-
Tomcat management page
-
Build the java spring boot project
gradle build. Artifacts inbuild\libs\something.war -
Copy java
something.WARfile toC:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\ROOT.war -
run the server on CLI
// "jpda" to allow remote attach to debug java code @ port 8000 /// C:\Program Files\Apache Software Foundation\Tomcat 8.5\bin> .\catalina.bat jpda start -
Tomcat will extract WAR file to
C:\Program Files\Apache Software Foundation\Tomcat 8.5\ROOT -
Build vueJS FE
npm run-script build. Build artifacts will be created underdist -
Copy vueJS build artifacts contents
disttoC:\Program Files\Apache Software Foundation\Tomcat 8.5\ROOT\WEB-INF\classes\public -
Reload tomcat to refresh the FE component
-
Now you can access the web from browser
- FE page :
http://localhost:8080 - BE api :
http://localhost:8080/v1/merchant/...
- FE page :