This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of React Cookbook: Recipes for Mastering the React Framework and have David Griffiths & Dawn Griffiths on-line!
See this thread for details.
Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

what files or directories to deploy

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I recompile JForum and copy the entire jforum folder to the Tomcat webapps folder, it wipes out any customization. I would like to refresh as much as possible on every deployment, without destroying anything that was created dynamically in my forum. Can someone give me a list of everything that should NOT be replaced when the app is redeployed?

Thanks.
[originally posted on jforum.net by jstrunk]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jstrunk wrote:If I recompile JForum and copy the entire jforum folder to the Tomcat webapps folder, it wipes out any customization. I would like to refresh as much as possible on every deployment, without destroying anything that was created dynamically in my forum. Can someone give me a list of everything that should NOT be replaced when the app is redeployed?

Thanks.


The two key files you should keep are your jforum-custom.conf and your database configuration file (mine happens to be mysql.properties since I use MySQL).

I use a custom theme too, so that is in a different directory than "default" .. so it doesn't get overwritten. If you have any customized files, you should make a list of them and make sure you have a backup of them for any future upgrades.

I don't typically deploy a new .war file for my upgrades, but do a cp -R of the updated files (running Linux).
[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, this is helpful.
[originally posted on jforum.net by jstrunk]
 
I am not a spy. Definitely. Definitely not a spy. Not me. No way. But this tiny ad ...
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic