简体   繁体   中英

How to deploy a gradle project

I am working mostly in notepad. developed many projects in core java and servlets with Tomcat but don't know how to deploy a Gradle project. I am trying to configure https://github.com/ex3ndr/telegram-api . Please assist me

Thanks in anticipation

  1. Create war file for your project.

  2. Stop the server(not mandatory)

  3. Copy that .war file to your tomcat webapps folder.

  4. Start the server(After starting one folder with your war file name will be created).

  5. Open localhost:8080/<war name>

That's it

Note: This is common process for all not only for gradle, 8080 port may vary(By Default tomcat ll take 8080).

This link fixed my problem http://www.mkyong.com/spring-mvc/gradle-spring-mvc-web-project-example/

I have downloaded the gradle package set its path to bin folder and build the package by studying the aforementioned link as to how gradle works

Thanks All

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM