Skip to content

Deploy New Release

syntheticzero edited this page May 5, 2014 · 7 revisions

Basic Deployment

To deploy a new release, ssh into the server (qa.wearecurio.us, dev.wearecurio.us, etc.) as root.

su - curious
buildwar

If you'd like to build from another branch:

su - curious
buildwar-branch [branchname]

At this point enter the ssh passphrase for the server. If you don't have it, please ask an administrator for it.

After updating the codebase, Ctrl-D to exit back to the root shell, and run:

deploycur

This script calls deploycur-ver, which in turn shuts down Jetty, rebuilds the server, and restarts Jetty.

Server Reboot

You can reboot the server via "shutdown -r now" from the root shell.

The server requires a passphrase to be manually entered when the httpd server is started, so when the server reboots it will be caught in a partially-started state. You must log into the server as root, kill the httpd process, and restart apache with:

killall httpd
service httpd start

You will have to enter the passphrase for the certificate.

Then you need to restart the Jetty service.

service jetty restart
Clone this wiki locally