""
Documentation daCode : daCode webmaster's guide
Chapitre 2. Installing daCode on localhost

 

The Web applications are a little tricky to install. You have to download a package, install several scripts and initialize some databases. It's a rather differnet logic from a 'standard' software, but if you use the ad-hoc tool, it becomes very easy.

This oh-so-wonderful tool is CVS.

CVS enables you to syncronize your own copy with a central repository. This way you may transparently upgrade daCode, and also contribute to the developpemt (btw, if you feel this document is poorly written, with CVS you'll get a chance to enhance it...)

daCode moves very fast. This seems to be quite usual for web apps. You need to plan frequent upgrades, so investing in learning a bit of CVS will surely pay back.

 

Downloading daCode

Is your modem ready? OK, let's download daCode. But first choose a strategy. If you just want to see what it's like, use the 'daily snapshot', built every night. If you think you may fall into some daCodemania, learn CVS.

  • the tgz (daily snapshot)

    
    $ wget http://perso.linuxfr.org/penso/daCode.tar.gz     
           
    


  • by CVS

    
      $ cvs -d:pserver:anonymous@cvs.dacode.sourceforge.net:/cvsroot/dacode login 
        CVS password :   [hit ENTER] 
        $ cvs -z3 -d:pserver:anonymous@cvs.dacode.sourceforge.net:/cvsroot/dacode co daCode 
           
    


Now you can let your modem take its breathe.

When compared to the tgz, using CVS make be rebuking. It's just an illusion:

  • no 'tar zxvf' anymore'

  • no more passwords, URLs or logins. Just cut and paste for the first time, and then with 'cvs update', you automagically bring your daCode up to date.



We didn't convince you to use CVS? Go to hell! But whatever method you used, you must have something like this file hierarchy:


$ tree -d daCode | grep -v CVS 
daCode 
|-- doc 
|   |-- html 
|   |-- script 
|   |-- sgml 
|   |-- txt 
|   `-- xml 
`-- src 
    |-- htdocs 
    |   |-- admin 
    |   |-- board 
    |   |-- comments 
    |   |-- images 
    |   |   `-- section 
    |   |-- messages 
    |   |-- news 
    |   |-- pda 
    |   |-- poll 
    |   |-- themes 
    |   |   |-- daweb 
    |   |   |   `-- images 
    |   |   |-- kde2 
    |   |   |   `-- images 
    |   |   |-- linuxfr 
    |   |   |   `-- images 
    |   |   |-- phpnukeopenmind 
    |   |   |   `-- images 
    |   |   |       `-- section 
    |   |   |-- slashdot 
    |   |   |   `-- images 
    |   |   |       `-- section 
    |   |   `-- wm 
    |   |       `-- images 
    |   |-- users 
    |   |-- w 
    |   |-- wap 
    |   `-- webcam 
    `-- phplib 
        `-- themes 
            |-- daweb 
            |-- kde2 
            |-- linuxfr 
            |-- lynx 
            |-- phpnukeopenmind 
            |-- printable 
            |-- slashdot 
            `-- wm