cd /var/discourse git pull ./launcher rebuild app
Make sure you have 2GB of swap space per howtos here.