tweetcast/nodejs/readme.txt
author Raphael Velt <raph.velt@gmail.com>
Fri, 04 Nov 2011 16:12:32 +0100
changeset 354 19ed2a92d3c1
parent 340 a99a04556e3b
child 360 d49991fe4892
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
340
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     1
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     2
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     3
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     4
--------------------------------------------------------------------------------
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     5
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     6
INSTALLATION
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     7
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     8
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     9
    1. Installer la dernière version stable de Node.js
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    10
    
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    11
        Actuellement, la v0.4.12
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    12
        
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    13
        http://nodejs.org/dist/node-v0.4.12.tar.gz
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    14
        
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    15
        ./configure
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    16
        
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    17
        Pour compiler avec support SSL (nécessaire pour requêter Twitter), il faut installer (sur Ubuntu) le package libssl-dev
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    18
        
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    19
        make
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    20
        
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    21
        sudo make install
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    22
    
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    23
    2. Installer le gestionnaire de paquets node (npm)
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    24
    
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    25
        curl http://npmjs.org/install.sh | sudo sh
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    26
    
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    27
    3. Installer les paquets socket.io et sqlite
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    28
    
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    29
        npm install socket.io
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    30
        npm install sqlite
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    31
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    32
--------------------------------------------------------------------------------
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    33
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    34
CONFIGURATION
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    35
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    36
    Modifier le fichier conf.js ou créer un fichier similaire
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    37
    
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    38
    
a99a04556e3b Added conversation mode
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    39