@@ -166,16 +166,29 @@ refer to as $REPO in the following.
166
166
Configuring and installing CMS
167
167
------------------------------
168
168
169
+ The first thing to do is to create the user and the database. For
170
+ PostgreSQL, this is obtained with the following commands (note that
171
+ the user need not to be a superuser, nor to be able to create
172
+ databases nor roles):
173
+
174
+ ``` bash
175
+ sudo su postgres
176
+ createuser cmsuser -P
177
+ createdb -O cmsuser cmsdb
178
+ ```
179
+
169
180
There are two configuration files, one for CMS itself and one for the
170
- rankings. Samples for both files are in $REPO/examples. You want
171
- to copy them to the same file names but without the ".sample" suffix
181
+ rankings. Samples for both files are in $REPO/examples. You want to
182
+ copy them to the same file names but without the ".sample" suffix
172
183
(that is, to $REPO/examples/cms.conf and
173
184
$REPO/examples/cms.ranking.conf) before modifying them.
174
185
175
186
- cms.conf is intended to be the same in all servers; all
176
- configurations are explained in the file; of particular importance is
177
- the definition of core_services, that specifies where the services
178
- are going to be run, and how many of them.
187
+ configurations are explained in the file; of particular importance
188
+ is the definition of core_services, that specifies where the
189
+ services are going to be run, and how many of them, and the
190
+ connecting line for the database, in which you need to specify the
191
+ name of the user created above and its password.
179
192
180
193
- cms.ranking.conf is intended to be different on each server that
181
194
will host a ranking. The addresses and log-in information of each
@@ -273,14 +286,17 @@ particular we are aware of the following:
273
286
274
287
- IOI 2012 (International Olympiad in Informatics), September 2012;
275
288
276
- - OII 2011 (Italian Olympiad in Informatics), September 2011;
289
+ - OII 2011 (Italian Olympiad in Informatics), September 2011 and OII
290
+ 2012, October 2012;
277
291
278
292
- AIIO 2012 (Australian Invitational Informatics Olympiad), February
279
293
2012;
280
294
281
295
- FARIO 2012 (French-Australian Regional Informatics Olympiad), March
282
296
2012;
283
297
298
+ - Taipei High School Programming Contest, Taiwan, October 2012;
299
+
284
300
- training camps for the selections of the national teams of Australia,
285
301
Italy and Latvia.
286
302
0 commit comments