ScoDocMM/config
2020-09-28 15:46:46 +02:00
..
doc_poursuites_etudes Upload from subversion 1932 2020-09-26 16:19:37 +02:00
etc Upload from subversion 1932 2020-09-26 16:19:37 +02:00
softs Upload from subversion 1932 2020-09-26 16:19:37 +02:00
anonymize_db.py Upload from subversion 1932 2020-09-26 16:19:37 +02:00
config.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
create_database.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
create_dept.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
create_user_db.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
default-etapes.txt Upload from subversion 1932 2020-09-26 16:19:37 +02:00
delete_dept.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
diagnostic.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
distrib.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
etablissements.csv Upload from subversion 1932 2020-09-26 16:19:37 +02:00
initialize_database.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
install_cal_modules.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
install_debian7.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
install_debian8.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
install_debian9.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
install_debian10.sh Fix install script 2020-09-28 15:46:46 +02:00
postupgrade-db.py Upload from subversion 1932 2020-09-26 16:19:37 +02:00
postupgrade.py Upload from subversion 1932 2020-09-26 16:19:37 +02:00
psql_restore_databases.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
README Upload from subversion 1932 2020-09-26 16:19:37 +02:00
restore_scodoc_data.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
save_scodoc_data.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
scodoc_config.py Upload from subversion 1932 2020-09-26 16:19:37 +02:00
scodocutils.py Upload from subversion 1932 2020-09-26 16:19:37 +02:00
set_passwd.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
upgrade.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
utils.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00

       CONFIGURATION DE SCODOC
       -----------------------

Emmanuel Viennet, juin 2008, mar 2017



0) INSTALL de base:
- prerequis: apache2, utilisateur www-data
- detarer ScoDoc.tgz  (== Zope + produits + scodoc)


1) Creation de la base utilisateurs (initialement vide)

-------

Sept 2013: ScoDoc 7 : python2.7, Debian 7, Zope 2.13.21


Pour la construction de Zope: 
attention: on veut bénéficier des paquets python Debian !
donc

apt-get install python-dev 
apt-get install python-virtualenv
apt-get install gcc
virtualenv --system-site-packages /opt/zope213
cd zope213/
bin/easy_install -i http://download.zope.org/Zope2/index/2.13.21 Zope2
# ...long...

bin/easy_install Products.ZSQLMethods
bin/easy_install ZPsycopgDA
# Avec Debian 8: probleme install de ZPsycopgDA
# essai en le copiant de la version Debian 7. Semble ok.

# Problemes persistant avec pydot (voir commentaire dans script install)

# Si besoin, création de l'instance Zope:
bin/mkzopeinstance -d /opt/inst

(XXX admin / admin)


2) Migration bases de données
Sur ScoDoc6:
  pg_dumpall > scodoc.dump.txt



passage en UTF-8
- sources Python
- locale systeme (scrip install)
- creation des bases (users et depts)
- recodage du dump sql