Question

I'm working on an open source java cms that name is opencms . it is war file that you deploy it with tomcat and when it's up you go to localhost:8080/opencms and start to configure it as you want. my problem is that when I've done my all jobs and making a cms site with it, what I must do to upload it on a real server ? do I have to make war file from it then upload it or just i upload it's deployed folder to server tomcat ? and what i must do with it's database ? it's enough to export a .sql file from my local database and execute it on server database or i must do some other things ? please help me thanks

Was it helpful?

Solution

You need an opencms installation on your "real" server that fits the one you created your page with.

It should be possible to just copy the content of opencms webapp folder inside tomcat to the tomcat on the target machine and also transfer copies of the associated databases to the "real" server.

Personally I prefer performing a standard installation of opencms on the target machine and configuring it (remove example content, change passwords, etc.). Then I would use the export functionality of opencms to export the content on the development machine and import it into the target opencms instance. The complexity depends on how much changes you have applied to the default installation - if you have developed your own modules, then it might be a bit more difficult.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top