ScoDoc/config
2021-07-11 13:05:08 +02:00
..
doc_poursuites_etudes Upload from subversion 1932 2020-09-26 16:19:37 +02:00
etc Systemd script for Debian 9 or 10, with postgresql 11 or not. 2021-05-28 22:24:37 +02:00
softs Upload from subversion 1932 2020-09-26 16:19:37 +02:00
anonymize_db.py python-modernize 2021-07-09 18:49:16 +02:00
config.sh update from master 2021-05-29 10:57:56 +02:00
configure_systemd.sh update from master 2021-05-29 10:57:56 +02:00
create_database.sh WIP - shellchek config scripts 2020-12-19 19:22:22 +01:00
create_dept.sh Fix scripts 2021-04-22 22:14:25 +02:00
create_user_db.sh Merge branch 'master' of https://scodoc.org/git/viennet/ScoDoc into ScoDoc8 2020-12-21 16:31:38 +01:00
default-etapes.txt Upload from subversion 1932 2020-09-26 16:19:37 +02:00
delete_dept.sh Fix scripts 2021-04-22 22:14:25 +02:00
diagnostic.sh WIP - shellchek config scripts 2020-12-19 19:22:22 +01:00
distrib.sh WIP - shellchek config scripts 2020-12-19 19:22:22 +01:00
etablissements.csv Upload from subversion 1932 2020-09-26 16:19:37 +02:00
fix_bug70_db.py python-modernize 2021-07-09 18:49:16 +02:00
get_scodoc_version.sh WIP refactoring, cont. 2021-06-16 18:18:32 +02:00
initialize_database.sh WIP - shellchek config scripts 2020-12-19 19:22:22 +01:00
install_cal_modules.sh Upload from subversion 1932 2020-09-26 16:19:37 +02:00
install_debian10.sh completed elimination of jaxml 2021-07-11 13:03:13 +02:00
migre-7-a-8.sh Fix mode 2020-12-23 17:21:59 +01:00
postupgrade-db.py removed some useless fields 2021-02-14 22:38:50 +01:00
postupgrade.py python-modernize 2021-07-09 18:49:16 +02:00
psql_restore_databases.sh WIP - shellchek config scripts 2020-12-19 19:22:22 +01: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 update from master 2021-05-29 10:57:56 +02:00
scodoc_config_tmpl.py New-Style Classes 2021-07-09 23:31:16 +02:00
scodoc_config.py New-Style Classes 2021-07-09 23:31:16 +02:00
scodocutils.py python-modernize 2021-07-09 18:49:16 +02:00
set_passwd.sh WIP - shellchek config scripts 2020-12-19 19:22:22 +01:00
upgrade.sh Merge branch 'master' of https://scodoc.org/git/viennet/ScoDoc into ScoDoc8 2021-04-25 21:44:40 +02:00
utils.sh script getting ScoDoc version infos 2020-12-21 18:15:01 +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