Personal tools
You are here: Home CinnamonServer Installation from Source 4. Deployment

4. Deployment

How to deploy Cinnamon on a Webserver

After running the build script with ant, copy the cinnamon.war in Server/dist/ to your the webapps directory of your webserver.

On the CinamonUbuntu-VM, you should edit and rund the /home/cinnamon/replace_cinnamon.sh script.

cinnamon@cinnamon:~$ sudo ./replace_cinnamon.sh

I suggest that you

  1. stop your webserver/servlet container,
  2. remove the old Cinnamon server installation
  3. copy the new cinnamon.war into the webserver's webapps direcotry
  4. start your webserver

If your servlet container has auto-deploy enabled, it should pick up and install the cinnamon.war automatically from its webapps directory. More advanced servers may be able to do this on-the-fly, but this can break existing database connection pooling, so stop-deploy-restart is the recommended way.

Document Actions