/[openfoncier]/trunk/README.txt
ViewVC logotype

Contents of /trunk/README.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (show annotations)
Thu Feb 10 20:46:18 2011 UTC (13 years, 11 months ago) by fraynaud
File MIME type: text/plain
File size: 7191 byte(s)
version initiale


1 openMairie Exemple
2 ==================
3
4 AUTEURS openFoncier =========================================================
5 Francois Raynaud / [email protected]
6 Jean-Louis Bastide / [email protected]
7 alain baldachino / [email protected]
8 francis astay / [email protected]
9 yves rakotovahiny /[email protected]
10 laurent bouquet / [email protected]
11
12 FRAMEWORK openMairie 4.0.0
13 Francois Raynaud <[email protected]>
14 Florent Michon<[email protected]>
15 Jean-Louis Bastide <[email protected]>
16 Thierry Benita <[email protected]>
17 frederic giva <[email protected]>
18 freddy francois <[email protected]>
19 ==============================================================================
20
21 _____________________________________________________________________________
22 Pre requis :
23 ============
24 Vous devez avoir installer:
25 - un serveur apache et php
26 - une base de donnees : mysql ou postgresql
27 -----------------------------------------------------------------------------
28 Prerequisite :
29 ============
30 You must have the following services installed :
31 - Apache server with php extension
32 - database server : mysql or postgresql
33 _____________________________________________________________________________
34 En fait, reportez vous aux installations de :
35 - sous windows : wamp (http://www.wampserver.com/)
36 ou easyphp(http://easyphp.fr/)
37 - sous linux : lamp
38
39 Si vous utilisez postgre sql, voir install sur le site :
40 http://www.postgresqlfr.org/
41
42 Si vous debutez, il est plus simple de garder mysql qui est packagee avec
43 easyphp ou wamp.
44 -----------------------------------------------------------------------------
45 you should report to the installations of :
46 - for windows : wamp (http://www.wampserver.com/)
47 or easyphp(http://easyphp.fr/)
48 - for Linux : lamp
49
50 In case you use postgresql, you also have to install postgresql
51 (http://www.postgresqlfr.org/)
52
53 If you're new to all that, it'd be easier to keep mysql that comes
54 included in the easyphp or wamp package.
55 _____________________________________________________________________________
56 * Installation de openmairie_xxx -> voir INSTALL.TXT
57 copier le repertoire openmairie_xxx sur votre serveur
58 wamp/www/openmairie_xxx
59 sous linux (debian) : var/www/openmairie_xxx
60 -----------------------------------------------------------------------------
61 Install openmairie_xxx -> see INSTALL.TXT
62 copy the openmairie_xxx folder on your server
63 wamp/www/openmairie_xxx
64 for Linux (Debian) : var/www/openmairie_xxx
65 ___________________________________________________________________________
66 * Initialisation de la base en MySQL ou Postgresql
67 creer la base openxxx sur mysql
68 Ensuite, il faut creer les tables de la base de donnees
69 puis executer les scripts SQL suivants :
70 - en mysql :
71 data/mysql/init.sql
72 - en pgsql
73 data/pgsql/init.sql
74 ----------------------------------------------------------------------------
75 Initialize the MySQL or postgresql database
76 create the openxxx database on mysql or pgsql
77 Then, you have to create the database tables
78 then execute the following SQL scripts :
79 - for mysql :
80 openmairie_recensement/data/mysql/init.sql
81 - for pgsql
82 openmairie_recensement/data/pgsql/init.sql
83 ____________________________________________________________________________
84 * parametrer la connexion dans /dyn/database.inc.php
85
86 parametrage par defaut :
87 conn[1] est un tableau php qui contient les parametres de connexion suivants
88 'titre => 'openxxx (mysql ou pgsql)',[parametrage openmairie]
89 'phptype' => 'mysql', ou 'pgsql' [ne pas changer parametrage dbpear]
90 'dbsyntax' => '',[ne pas changer parametrage dbpear]
91 'username' => 'root', [par defaut sur wamp easyphp ou lamp /
92 a voir avec le fournisseur d acces le cas echeant]
93 'password' => '' [par defaut sur wamp easyphp ou lamp /
94 a voir avec le fournisseur d acces le cas echeant]
95 'protocol' => '',
96 'hostspec' => 'localhost', [nom de serveur par defaut wamp ou easyphp]
97 'port' => '', [ne pas changer parametrage dbpear]
98 'socket' => '', [ne pas changer parametrage dbpear]
99 nom de la base => 'openxxx', [parametrage openmairie]
100 format date par defaut =>'AAAA-MM-JJ' [[parametrage openmairie ne pas changer]
101 shema => '' ou 'public' pour postgre
102 prefixe => ''
103 ----------------------------------------------------------------------------------
104 setting up the connection in /dyn/database.inc.php
105
106 default settings :
107 conn[1] is a php array containing the following connection settings
108 'titre => 'openxxx ',[openmairie setting]
109 'phptype' => 'mysql', or 'pgsql' [do not change dbpear setting]
110 'dbsyntax' => '',[do not change dbpear setting]
111 'username' => 'root', [default setting on wamp easyphp or lamp /
112 see with provider if needed]
113 'password' => '' [default setting on wamp easyphp or lamp /
114 see with provider if needed]
115 'protocol' => '',
116 'hostspec' => 'localhost', [default server name for wamp or easyphp]
117 'port' => '', [do not change dbpear setting]
118 'socket' => '', [do not change dbpear setting]
119 'dbname' => 'openxxx', [openmairie setting]
120 'default date format' =>'AAAA-MM-JJ' [do not change openmairie setting]
121 'shema' => '' ou 'public' for postgre
122 'prefixe' => ''
123 _________________________________________________________________________________
124 ATTENTION :
125 Ne pas oublier de faire une sauvegarde du repertoire /trs ou sont stockees toutes
126 les donnees numerisees (photos, arretes, autorisation ...)
127
128 Sous linux mettre les droits d ecriture
129 Mise en place du logo
130 ----------------------------------------------------------------------------------
131 BE CAREFUL :
132 Do not forget to backup the folder /trs where are stored all the digital datas
133 (photos, pdf...)
134
135 On Linux, you have to set the "write" permissions (see 2.5)
136 Setting up the logo
137 __________________________________________________________________________________
138 * LOGIN PASSWORD [table om_utilisateur]
139 demo/demo
140 admin/admin
141 ______________________________________________________________________________
142 * Parametage [setting] : /dyn
143 dyn/var.inc
144 dyn/config.inc.php
145 activer descastiver le mode demo
146 [activate /desactivate]
147 path des librairies utilisees [path libraries]
148 theme jquery
149 ________________________________________________________________________
150 * Libraries : javascript (js), php, sql, translation
151
152 - js
153 externals : lib/ (jquery,tinymce,openlayer ...)
154 internals : js/
155
156 - php
157 externals: php/ (openMairie, pear, fpdf)
158 internals: scr/ (screen / ecrans)
159 spg/ (sous progr generique : combo, upload, localization, rvb ...)
160 trt/ (treatment)
161 gen/ (generator)
162 obj/ objet métier
163
164 - sql data/ ... initialization
165 sql/ ...
166
167 translation : /locales
168
169 [documentation] =======================
170 toute la documentation sur :
171 [All the documentation] on:
172 http://www.openmairie.org
173 =======================================

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26