Once the Odoo server is up-and-running, you'll need to install updates on Odoo. This involves two steps—getting new versions of the source code (for the server or modules) and installing them.
Server and module updates
Creating a staging environment
If you have followed the approach described in the Installing from the source code section correctly, you should now be able to fetch and test new versions of source code in the staging repository. It's strongly advised that you make a copy of the production database and test any upgrades on it. If odoo-prod is your production database, an odoo-stage copy can be created with the following commands:
$ dropdb odoo-stage
$ createdb --owner=odoo odoo-stage $ pg_dump...