INL / corpus-frontend

BlackLab Frontend, a feature-rich corpus search interface for BlackLab.
16 stars 7 forks source link

Can I use an IDE like IDEA to run and develop the backend in real-time? #499

Closed yua5 closed 2 months ago

yua5 commented 3 months ago

Hello, I am currently customizing the development based on the corpus-frontend project. For the frontend, I'm using jspath and npm run start, which allows me to see my modifications in real-time. However, for the backend, I can only see the results after generating a war file and running it in tomcat. This slows down my development process significantly. Is there a way to run the backend in an IDE like IDEA, so that I can conveniently check the running results after modifying the program? Thank you very much!!

jan-niestadt commented 2 months ago

Yes, most Java IDEs have a feature that either updates the .war automatically, or by (quickly) redeploying it.

For IntelliJ IDEA, this is included with the ultimate edition (link). This is what I currently use, and I just click "redeploy" to update BlackLab Server, taking maybe 4 seconds. There's also this free plugin which I haven't used.

For Eclipse, there's a plugin that I've succesfully used in the past.

yua5 commented 2 months ago

Thanks a lot ! It worked successfully!