Re: Zope 4 migration

Michael Howitz <[email protected]> Thu, 12 Dec 2019 07:36:18 +0100
Newsgroups gmane.comp.web.zope.general
Message-ID <[email protected]>
--===============6078232863426149732==
Content-Type: multipart/signed;
	boundary="Apple-Mail=_DD37065C-D463-4F80-B2C2-385C1FBC4228";
	protocol="application/pgp-signature";
	micalg=pgp-sha256


--Apple-Mail=_DD37065C-D463-4F80-B2C2-385C1FBC4228
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi Michael,

Am 11.12.2019 um 12:42 schrieb Michael Brunnbauer <[email protected]>:
[=E2=80=A6]
> I have started looking into Zope 4. The recommended way to install it =
is to
> use zc.buildout:
>=20
> python3.7 -m venv .
> bin/pip install -U pip zc.buildout
> bin/buildout
>=20
> Python 2 does not have a venv module and the recommended way to =
migrate is to
> first migrate to Zope 4 with Python 2.

That=E2=80=99s right. See =
https://zope.readthedocs.io/en/4.x/zope4/migration/index.html for =
detailed information.

> Does the buildout thing work with Python 2?

The documentation says to use virtualenv instead of venv on Python 2.7, =
see
=
https://zope.readthedocs.io/en/4.x/INSTALL.html#built-in-standard-buildout=
-configuration

> I managed to install Zope 4 using pip and get an instance running with
> runwsgi. Now I am wondering how to stop it? How am I supposed to stop =
a
> running instance? There seems to be no command and no option in the =
GUI.

When using plain Zope Ctrl-C on the command line should be enough.
There is no button in the UI any more because the web server is no =
longer part of Zope itself. Instead you are able to use a WSGI server of =
your choice.
See =
https://zope.readthedocs.io/en/4.x/wsgi.html#choosing-wsgi-server-software=
 for recommandations and example configurations.

--
Mit herzlichen Gr=C3=BC=C3=9Fen
Michael Howitz


--Apple-Mail=_DD37065C-D463-4F80-B2C2-385C1FBC4228
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEzRcZ5x+BCFYq+baDYQXEIR/92gQFAl3x3+IACgkQYQXEIR/9
2gSevggAhBZQlClwNiShzDH2tZZmBMTN1UTl/KjHJqAONfKf8+lTigEUwthOYpgb
Ov2vLuzq1aeKtCn05GZFgXf0yEp6XRHvABarzSe2kIVm5ubDKxEuKhlRekXsx4Lk
1dWiX8szy4/YqCMc2oeSYcOl4izI7+xQoktmtw/IEt1sOtKKxv44tN4HJYd13rHV
vUGq120iulITw9B9I981dO7qNHRZCqUjKUrEnb6c7DCgNvPTTEtI5pQkDYhh4Yza
qiCUkjqU5TUJfg4d8txAW3r79owh+37S2Dxb5tYmUk2EhU8Zucfl3HupCwvozYdZ
jKivplW9BxXHut4gOMVXGfNLun8Jug==
=pNoP
-----END PGP SIGNATURE-----

--Apple-Mail=_DD37065C-D463-4F80-B2C2-385C1FBC4228--

--===============6078232863426149732==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Zope maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )

--===============6078232863426149732==--