Confirmed users
3,727
edits
| Line 163: | Line 163: | ||
* Restart the server using the "nohup" command from above | * Restart the server using the "nohup" command from above | ||
* Test the service to verify everything is running correctly | * Test the service to verify everything is running correctly | ||
= Redeploying a Live Server = | |||
* The following steps can be used to redeploy a live sync server | |||
$ cd /path/to/server-full | |||
$ hg pull -uv | |||
$ make build | |||
$ apachectl graceful | |||
* This should be sufficient, as "make build" will pull and update the repositories underneath the "deps" directory. | |||
* There is also a "make update" target which will update only the dependent repositories, without rebuilding any of the third-party dependencies from PyPi. | |||
* Also note that the Makefile will build the production channel by default, meaning this will not update you to the very latest checked-in changes but rather to the latest tags. If instead you want to deploy the very latest code, then use this line instead: | |||
$ make build CHANNEL=dev | |||
For more advanced configurations, including web server support, please see the following documentation: | For more advanced configurations, including web server support, please see the following documentation: | ||