ScoDoc-PE/config
2021-02-13 17:28:55 +01:00
..
doc_poursuites_etudes Upload from subversion 1932 2020-09-26 16:19:37 +02:00
etc Fixed systemd postgresql dependency 2020-12-06 15:20:24 +01: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 shellcheck 2021-01-23 17:42:14 +01:00
configure_systemd.sh Better SCODOC_DIR init 2020-12-06 15:28:49 +01:00
create_database.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
create_dept.sh Refactoring. Tests ok but needs more testing ! 2021-01-17 22:31:28 +01:00
create_user_db.sh WIP: migration script ScoDoc7 -> ScoDoc8 2020-12-21 13:55:04 +01:00
default-etapes.txt Upload from subversion 1932 2020-09-26 16:19:37 +02:00
delete_dept.sh Fix: config scripts when working in a symlinked directory 2021-01-23 16:49:10 +01:00
diagnostic.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
distrib.sh 7.19a: configuration with systemd 2020-12-05 17:29:26 +01: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 removed old mxDateTime 2021-02-05 18:21:34 +01:00
migre-7-a-8.sh Fix mode 2020-12-23 17:21:59 +01:00
postupgrade-db.py Handling of neutral genders. 2021-02-13 17:28:55 +01: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 shellcheck 2020-12-28 22:09:20 +01:00
save_scodoc_data.sh shellcheck 2020-12-28 22:09:20 +01: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 7.19a: configuration with systemd 2020-12-05 17:29:26 +01:00
utils.sh 7.19a: configuration with systemd 2020-12-05 17:29:26 +01: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