[Plone-IT] Zope 2.13 python2 migration to Zope 4/5 python3 - [linux Debian]

Riccardo Lemmi riccardo a reflab.com
Gio 15 Lug 2021 08:28:40 UTC


On Thursday 15 July 2021, Roberto Vivarelli wrote:
> Buongiorno,
> avrei bisogno di consulenza, di un contatto per guidarmi in questa
> migrazione.
> 
> *[ Good morning,*
> *I'm looking forward a consultant who could drive me through this
> migration. ]*
> 
> *ZOPE 2.13.18 - python 2.7.3*
> - *ZSQL*
> *- DTML + ZPT*
> - *ZServer *
> - *ZcxOracleDA *adapter
> - *Localizer *(forse possiamo rinunciare)
> - *Extensions *accedute via *External Methods*
> 
> 
> Ho cercato di seguire le istruzioni online ma sono in grosse
> difficoltà. Sono partito installando ZOPE 4.6.2 via pip perchè il
> zc.buildout dava errore.
> 
> *[ **I did my best following online instructions but I'm in deep
> troubles, too many doubts.*
> *I installed ZOPE 4.6.2 with pip 'cause zc.buildout was throwing
> error. **]*
> 
> 
> python2 -m virtualenv Zope-4.6.2
> 
> cd Zope-4.6.2/
> 
> Zope-4.6.2$ bin/pip install -U pip wheel
> 
> Zope-4.6.2$ bin/pip install Zope[wsgi]==4.6.2 -c
> https://zopefoundation.github.io/Zope/releases/4.6.2/constraints.txt
> 
> Zope-4.6.2$ bin/pip install Products.ExternalMethod
> 
> Zope-4.6.2$ bin/pip install Products.ZSQLMethods
> 
> Zope-4.6.2$ bin/mkwsgiinstance -d ZopeInstance -u admin:dynasty
> 
> 
> Nella ZopeInstance abbiamo poi calato *[ we put into the ZopeInstance
> ]*
> 
> - Extensions
> - ZcxOracle
> - lo ZODB data.fs
> 
> 
> 
> Nel caso fosse necessario un pagamento per la consulenza possiamo
> parlarne. *[ In case of payment needed, we can find an agreement ]*
> 
> Grazie
> Roberto Vivarelli

Ti consiglio di seguire la sezione "Built-in standard buildout 
configuration" di:

  https://zope.readthedocs.io/en/4.x/INSTALL.html

Secondo me, se possibile, è meglio usare python 3.8

Aggiungi i prodotti che ti servono al buildout.cfg

Infine segui 

   https://zope.readthedocs.io/en/4.x/operation.html

per configurare e avere una instanza funzionante di zope.

-- 
Riccardo Lemmi
Über Developer
http://www.reflab.com
-------------- parte successiva --------------
Un allegato non testuale è stato rimosso....
Nome:        signature.asc
Tipo:        application/pgp-signature
Dimensione:  198 bytes
Descrizione: This is a digitally signed message part.
URL:         <http://lists.plone.org/pipermail/plone-plone-it/attachments/20210715/bea77cc3/attachment-0001.asc>


Maggiori informazioni sulla lista Plone-IT