Project

General

Profile

Demande #1165

Mise en place d'un CMS SPIP pour gérer le site Libre en fête

Added by Lionel Allorge over 9 years ago. Updated about 9 years ago.

Status:
Fermé
Priority:
Normale
Assignee:
Category:
Task
Target version:
Start date:
01/03/2013
Due date:
% Done:

100%

Estimated time:
Spent time:
Difficulté:
3 Moyen

Description

Dans le but de faciliter la gestion de la campagne Libre en fête il serait souhaitable d'avoir un CMS qui permette de gérer l'année en cours. Le CMS doit être simple à installer et à maintenir pour les admins et donc, si possible, installable par un paquet Debian. Il semble que SPIP réponde le mieux à cette contrainte.

Il faut que les futurs webmestres de ce site puissent y faire toutes sortes de modifications, l'idéal étant de pouvoir disposer d'une version de test et d'une version de production séparées.

Les archives des années précédentes n'ayant pas vocation à évoluer peuvent être archivées sous forme de pages HTML statiques mais doivent rester consultables en ligne.


Related issues

Related to Libre en Fête - Demande #1132: Mise à jour de la campagne 2013Résolu12/18/2012

Actions

Associated revisions

Revision e339ad47 (diff)
Added by Loïc Dachary over 9 years ago

tentative spip installation, probably incomplete refs #1165

Revision 42235bf1 (diff)
Added by Loïc Dachary over 9 years ago

fix comma typo refs #1165

Revision e8cf1459 (diff)
Added by Loïc Dachary over 9 years ago

add a wrapper for the check_http nagios plugin refs #1165

Revision 81059eb6 (diff)
Added by Loïc Dachary over 9 years ago

add copyright notice refs #1165

Revision c56ecfed (diff)
Added by Loïc Dachary over 9 years ago

fix files wrongfully qualified as directories refs #1165

Revision 54f03014 (diff)
Added by Loïc Dachary over 9 years ago

set the documentroot to /var/lib/spip refs #1165

Revision 8b974274 (diff)
Added by Loïc Dachary over 9 years ago

the first time around, /root/.my.cnf is not installed, maybe because the order in which actions must be carried out is not specified by the mysql module refs #1165

Revision 21dde102 (diff)
Added by Loïc Dachary over 9 years ago

scripted spip installation refs #1165

Revision 00784262 (diff)
Added by Loïc Dachary over 9 years ago

check on libre en fete in default.php refs #1165

Revision 016e2196 (diff)
Added by Loïc Dachary over 9 years ago

ensure present instead of checking content refs #1165

Revision c665097d (diff)
Added by Loïc Dachary over 9 years ago

Remove template that is no longer used because connect.php is created as a side effect of calling the installation scripts.
Move the comments inside the PHP element.
refs #1165

History

#1

Updated by Loïc Dachary over 9 years ago

  • Category set to Task
  • Status changed from Nouveau to En cours de traitement
  • Assignee set to Loïc Dachary
  • Target version set to Janvier 2013
  • Difficulté changed from 2 Facile to 3 Moyen
#2

Updated by Loïc Dachary over 9 years ago

root@dns:/etc# git show
commit 0eb69145791b99550f49cc54eff8c4182d63b510
Author: Loic Dachary <loic@dachary.org>
Date:   Sun Jan 20 23:54:49 2013 +0100

    Definition de spip.libre-en-fete.org

diff --git a/bind/zones/masters/libre-en-fete.org b/bind/zones/masters/libre-en-fete.org
index a86ee99..5f997ca 100644
--- a/bind/zones/masters/libre-en-fete.org
+++ b/bind/zones/masters/libre-en-fete.org
@@ -1,7 +1,7 @@
 ;; -*- zone -*-
 $TTL 86400      ; 1 day
 @      IN      SOA     pavot.april.org.        hostmaster.april.org. (
-               2011092500              ; Serial  - YYYYMMDDnn
+               2013012000              ; Serial  - YYYYMMDDnn
                3600                    ; Refresh - 6 hours
                1800                    ; Retry   - 30 minutes
                604800                  ; Expire  - 7 days
@@ -16,4 +16,5 @@ list  IN      MX      10      ompf.lolix.net.

 rhone  IN      A       91.121.169.147
 listes IN      CNAME   pavot.april.org.
+spip   IN      CNAME   ns1.april.org.
 *      IN      CNAME   @
#3

Updated by Loïc Dachary over 9 years ago

root@dns:/etc# git show
commit 693f61bf30eaaef50a5699138f85a781b43be8b1
Author: Loic Dachary <loic@dachary.org>
Date:   Mon Jan 21 00:02:57 2013 +0100

    Definition de spip.libre-en-fete.vm.april-int

diff --git a/bind/zones/masters/vm.april-int b/bind/zones/masters/vm.april-int
index 2ce468d..4b6c61e 100644
--- a/bind/zones/masters/vm.april-int
+++ b/bind/zones/masters/vm.april-int
@@ -1,8 +1,9 @@
+;; -*- zone -*-
 $TTL 1D

 @       IN SOA pavot.april-int. hostmaster.april.org. (

-        2012120601      ; Serial
+        2013012000      ; Serial
         3H              ; Refresh
         1H              ; Retry
         1W              ; Expire
@@ -42,5 +43,6 @@ jenkins                       IN      A       192.168.4.3
 nagios-hetzner         IN      A       192.168.4.4
 nagios                 IN      A       192.168.4.5
 gerrit                 IN      A       192.168.4.6
+spip.libre-en-fete     IN      A       192.168.4.7

 april-ci               IN      A       192.168.5.1
#4

Updated by Loïc Dachary over 9 years ago

root@nginx:/etc# git show
commit 0f14dff11e93c78a065f5fe692be7aae6963f2a7
Author: Loic Dachary <loic@dachary.org>
Date:   Mon Jan 21 00:12:44 2013 +0100

    define spip.libre-en-fete.org

diff --git a/nginx/sites-available/spip.libre-en-fete.org b/nginx/sites-available/spip.libre-en-fete.org
new file mode 100644
index 0000000..6dc3d70
--- /dev/null
+++ b/nginx/sites-available/spip.libre-en-fete.org
@@ -0,0 +1,8 @@
+server {
+    listen 192.168.1.10:80;
+    server_name spip.libre-en-fete.org;
+    access_log /var/log/nginx/spip.libre-en-fete.org/access_log;
+    location / {
+        proxy_pass http://spip.libre-en-fete.vm.april-int;
+    }
+}
diff --git a/nginx/sites-enabled/spip.libre-en-fete.org b/nginx/sites-enabled/spip.libre-en-fete.org
new file mode 120000
index 0000000..56c2f25
--- /dev/null
+++ b/nginx/sites-enabled/spip.libre-en-fete.org
@@ -0,0 +1 @@
+/etc/nginx/sites-available/spip.libre-en-fete.org
#5

Updated by Loïc Dachary over 9 years ago

controller.vm.april-int

root@controller:~# nova boot --image 'puppet' --flavor e.1-cpu.10GB-disk.1GB-ram --key_name loic --availability_zone=bm0008 --poll spip-libre-en-fete
+------------------------+--------------------------------------+
|        Property        |                Value                 |
+------------------------+--------------------------------------+
|   OS-DCF:diskConfig    |                MANUAL                |
| OS-EXT-STS:power_state |                  0                   |
| OS-EXT-STS:task_state  |              scheduling              |
|  OS-EXT-STS:vm_state   |               building               |
|       accessIPv4       |                                      |
|       accessIPv6       |                                      |
|       adminPass        |             XPgY8vc2JzdY             |
|      config_drive      |                                      |
|        created         |         2013-01-20T23:15:17Z         |
|         flavor         |      e.1-cpu.10GB-disk.1GB-ram       |
|         hostId         |                                      |
|           id           | a196d5ea-e17c-4394-ac1f-e367c0b82384 |
|         image          |                puppet                |
|        key_name        |                 loic                 |
|        metadata        |                  {}                  |
|          name          |          spip-libre-en-fete          |
|        progress        |                  0                   |
|         status         |                BUILD                 |
|       tenant_id        |   7c918c873280465da3785f5699d48316   |
|        updated         |         2013-01-20T23:15:17Z         |
|        user_id         |   ad2d198a5d474880a6da963aec8debe3   |
+------------------------+--------------------------------------+
Instance building... 100% complete
Finished

#6

Updated by Loïc Dachary over 9 years ago

ssh -t -A root@ns1.april.org vserver dns2 enter 
root@dns2:/# rndc retransfer vm.april-int
#7

Updated by Loïc Dachary over 9 years ago

  • Status changed from En cours de traitement to Résolu
  • % Done changed from 0 to 100

Il reste certainement des choses périphériques à faire : ne pas hésiter a ouvrir d'autres tickets pour cela. Le mot de passe admin a été fournit a liot.

#8

Updated by Loïc Dachary over 9 years ago

  • Status changed from Résolu to En cours de traitement
  • Target version changed from Janvier 2013 to Février 2013

Donner les permissions à madix

#9

Updated by Loïc Dachary about 9 years ago

  • Target version changed from Février 2013 to Mars 2013
#10

Updated by Loïc Dachary about 9 years ago

  • Target version changed from Mars 2013 to Avril 2013
#11

Updated by Loïc Dachary about 9 years ago

demande a liot de donner accès a madix

#12

Updated by Loïc Dachary about 9 years ago

  • Status changed from En cours de traitement to Fermé

liot a donné l'accès a fcouchet

Also available in: Atom PDF