From nobody Fri Apr 19 11:21:03 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=patchew-devel-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1675768115; cv=none; d=zohomail.com; s=zohoarc; b=dCXvBMX5J4a/5jkLoPihU78wNHjDPqrnnxrBDKkB7ECilU2qL6uSvrX9N4F3tSQSt6hSlutERPU8iDlvcuqD398aMrZSxW8cAIxmRwRc5deqRWHPp/keaemEPZE5GVRw2Ks5fNWluObDMUhpnvJbN1wB29TTOtSnibsPHrP5hSc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1675768115; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=Yxu1hhfS+YiU6cs2jEkAFBoHAto5cW1ZvBeKBtUh5Fc=; b=nupbVf5eIqq5Vpv7y0HhB/UqUfq/GAWTXEF+MXBRz3/IYj1rhZKIhjaNnlmr7JJRIhpTlGZgwxQCpzivc5l9yyXYtaXnLyiQbLQrKGANgu1Yw2kG7Do814iZ+kTeMMejjp0WXoJLwL63Nx0605VyJLIG0kmvh3Jhmk8CFCMvRhE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1675768115785934.7665491562321; Tue, 7 Feb 2023 03:08:35 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-363-Y4MzfXeNMP6Bt7WAlA3iTw-1; Tue, 07 Feb 2023 06:08:31 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E87C429AA2E3; Tue, 7 Feb 2023 11:08:30 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id E0FF44029A63; Tue, 7 Feb 2023 11:08:30 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id C1A3C194658C; Tue, 7 Feb 2023 11:08:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id BB2511946589 for ; Tue, 7 Feb 2023 11:08:29 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id A09B02166B2A; Tue, 7 Feb 2023 11:08:29 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 995892166B29 for ; Tue, 7 Feb 2023 11:08:29 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 77C01800B24 for ; Tue, 7 Feb 2023 11:08:29 +0000 (UTC) Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-37-d0BOQrelMlmNl3Iurc4cPA-1; Tue, 07 Feb 2023 06:08:27 -0500 Received: by mail-ej1-f72.google.com with SMTP id ti11-20020a170907c20b00b00886244203fcso10711537ejc.2 for ; Tue, 07 Feb 2023 03:08:27 -0800 (PST) Received: from avogadro.local ([2001:b07:6468:f312:9af8:e5f5:7516:fa89]) by smtp.gmail.com with ESMTPSA id v17-20020aa7dbd1000000b004a249a97d84sm6222987edt.23.2023.02.07.03.08.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 03:08:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675768114; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Yxu1hhfS+YiU6cs2jEkAFBoHAto5cW1ZvBeKBtUh5Fc=; b=bZ/yVoigMn/vOjLVfcmiMZnRm9qgYNkQL/M37esLOsb9ncy3UBY+JCumcHdQatK8wJ+WZ+ IdGHHvp6zXfro3F3jKWKA6qeCXI4vFMkkDgigqxx6sYr8ph1O4sd0Sshefhzn1AYJZXY+T r5ptAtxse3j+0cfQTbSVWEYm2DRESBY= X-MC-Unique: Y4MzfXeNMP6Bt7WAlA3iTw-1 X-Original-To: patchew-devel@listman.corp.redhat.com X-MC-Unique: d0BOQrelMlmNl3Iurc4cPA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=u2Q2LS+Uj6HsT/4H/qtOT6DcVDsW6sykCUT+MXQ3T98=; b=sMCtyXbbnl9enRwnOM7PqM+xGnI7moL8BuKFst/0kgOVXyaYFYGCyRgCRsYLmaixp0 B0xgBHNHprdfBJEBM0GLWy/NqwM2UJ/pBLEeFm8JwNCF1w4ECcwSPLRDEC+tXpSYQpKh QMPjvaKuDGCe/1Ks2VhCiUvvqMoXSDu3omg3azuPyv4eguU0TI01HJ6cNSi7W/kR9/DU W5kjxc/lBUQY9MBMFIhOLZZ4yPTyTNHyBxzhPcL1eIV+9uLclCRLaifm0rjL1vZxTOnL lFbnW72Utmt0ASlI0n6abo2eASyNcbyMXqwurkvFwIvmXt/knW8+DYrdcz/VNW1s4Fb1 p3zw== X-Gm-Message-State: AO0yUKWPokhaPdSR2+i3onALtqarMwx6hSL8bIyf4c6CPfZDxqf7jm9p fQb2QnXlwbPR1ELzsFLxcggJkHvU/kI0xGMsRbkQGt25qahbWEHo67Gd5Fluf5JklliZ7ZBxp3g fpLtUw30Kx+WuTtWbz8LLdF0beTwl1OCF0aeSIktjFS3oJOlujnlrMlX5dhCG8Kr1BzDm/V3YDJ p6gYc= X-Received: by 2002:a50:9b1b:0:b0:47e:eaae:9a5b with SMTP id o27-20020a509b1b000000b0047eeaae9a5bmr2992784edi.42.1675768106262; Tue, 07 Feb 2023 03:08:26 -0800 (PST) X-Google-Smtp-Source: AK7set//yw/9i7GO9HOpJ2oR0M/GHcUl2UaUfD2h6F7juFIyqoUUlWNtaVQJ4x5ZbvKoMj+jlHyA8A== X-Received: by 2002:a50:9b1b:0:b0:47e:eaae:9a5b with SMTP id o27-20020a509b1b000000b0047eeaae9a5bmr2992770edi.42.1675768106046; Tue, 07 Feb 2023 03:08:26 -0800 (PST) From: Paolo Bonzini To: patchew-devel@redhat.com Date: Tue, 7 Feb 2023 12:08:21 +0100 Message-Id: <20230207110821.64290-2-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 Subject: [Patchew-devel] [PATCH] document installation X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: patchew-devel-bounces@redhat.com Sender: "Patchew-devel" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1675768117725100003 Content-Type: text/plain; charset="utf-8" --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/README.md b/README.md index 6e2cf8d..a36e2b8 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,41 @@ We accept PR on github for one-off/small contributions b= ut it is encouraged to submit your patches with git-send-email to the Patchew development and discussion mailing list, patchew-devel@redhat.com. =20 +## Installing + +Patchew can be installed in a podman container that exposes a FastCGI +socket. Either SQLite or PostgreSQLcan be used as the database backend +(the latter requires a separate container). For example: + +``` +# ./scripts/deploy --db localhost +# systemctl enable patchew-server-db +# ./scripts/deploy --server localhost +# systemctl enable patchew-server +``` + +A sample nginx configuration is as follows: + +``` +upstream patchew-server { + server unix:/data/patchew-server/data/nginx.sock fail_timeout=3D0; +} + +server { + server_name patchew.org; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header Host $host; + location / { + proxy_pass http://patchew-server; + } + proxy_connect_timeout 600; + proxy_send_timeout 600; + proxy_read_timeout 600; + send_timeout 600; + client_max_body_size 100M; +} +``` + ## Known issues =20 - Binary patches are not recognized correctly. --=20 2.38.1 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://listman.redhat.com/mailman/listinfo/patchew-devel