Changeset - a5916602bdc9
[Not reviewed]
0 2 0
Branko Majic (branko) - 2 months ago 2024-03-04 00:01:50
branko@majic.rs
MAR-192: Updated test site instructions/deployment for Debian 12 Bookworm:

- Default to recommending Debian 12 Bookworm.
- Update the demo WSGI application for Python 3 use.
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
docs/development.rst
Show inline comments
 
@@ -411,13 +411,13 @@ In order to deploy the test site, the following steps would normally be taken:
 

	
 
  .. code-block:: shell
 

	
 
     ansible-playbook playbooks/preseed.yml
 

	
 
9. Install all servers using the generated preseed files. Use *Debian
 
   11 Bullseye*.
 
   12 Bookworm*.
 

	
 
10. Add the SSH host fingerprints to your ``known_hosts`` file (don't forget to
 
    remove old entries if you are redoing the process). You can easily obtain all
 
    the necessary fingerprints with command (don't forget to modify domain if you
 
    need to):
 

	
testsite/playbooks/roles/wsgihello/files/hello.wsgi
Show inline comments
 
@@ -22,7 +22,7 @@ def application(environ, start_response):
 
                             acceptencoding=environ.get("HTTP_ACCEPT_ENCODING"))
 

	
 
    response_headers = [('Content-type', 'text/html'),
 
                        ('Content-Length', str(len(output)))]
 
    start_response(status, response_headers)
 

	
 
    return [output]
 
    return [output.encode('utf-8')]
0 comments (0 inline, 0 general)