.. going_productive: Going Productive ================ 1. repo ini files ----------------- 1. odoo_xmlrpc_twisted - `parameter_global.ini `__ .. code:: sudo nano /usr/local/logistics/Python/repo/odoo_xmlrpc_twisted/config/parameter_global.ini | 1. Change the settings of the URL url of the twisted server .. code:: [get_settings_twisted] # the following parameter are used by the python program "test_twisted_connection" # url of the twisted server host = https://dingx.gotdns.ch | 2. Change the locations of the SSL certificate files .. code:: [get_settings_twisted] # the following parameter are used by the python program "test_twisted_connection" # path to the certificate file certificate_key = /etc/letsencrypt/live/dingx.gotdns.ch/fullchain.pem # path to the private key file private_key = /etc/letsencrypt/live/dingx.gotdns.ch/privkey.pem | 2. raspi_catch_object - `parameter_global.ini `__ .. code:: sudo nano /usr/local/logistics/Python/repo/raspi_catch_object/parameter_global.ini | 1. Change the settings of the URL .. code:: [settings_twisted_server] # server_url must start with "http" or "https" server_url = https://dingx.gotdns.ch:7080 | 3. django 1. settings - `parameter_global.ini `__ .. code:: sudo nano /usr/local/logistics/Python/repo/django_webapps_fullstack/settings/parameter_global.ini | 1. Change the settings of the URL .. code:: [settings_twisted_server] # server_url must start with "http" or "https" server_url = https://localhost:7080 | 2. Django Migrations -------------------- 1. Migrate the Django applications into the new environment: .. code:: sudo /usr/local/logistics/Python/venv/django_webapps_fullstack/bin/python3 /usr/local/logistics/Python/repo/django_webapps_fullstack/manage.py migrate