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
- stop your webserver/servlet container,
- remove the old Cinnamon server installation
- copy the new cinnamon.war into the webserver's webapps direcotry
- 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.

Previous:
3. Build
