Documentation de l'installation

Dependencies


 - iTools http://www.hforge.org/itools/ and its dependencies
 - iKaaro http://www.hforge.org/ikaaro/ and its dependencies
 - iTws   http://www.hforge.org/itws/

Installation


Installation with a virtualenv


  $ virtualenv perfect-sale
  $ cd perfect-sale
  $ mkdir Packages
  $ cd Packages
  $ wget http://download.hforge.org/itools/0.61/itools-0.61.3.tar.gz
  $ wget http://download.hforge.org/ikaaro/0.61/ikaaro-0.61.3.tar.gz
  $ git clone git://git.hforge.org/itws.git
  $ git clone git://git.hforge.org/shop.git
  $ tar xzf itools-0.61.3.tar.gz
  $ tar xzf ikaaro-0.61.3.tar.gz
  $ cd itools-0.61.3/
  $ ../../bin/python setup.py install
  $ cd ../ikaaro-0.61.3/
  $ ../../bin/python setup.py install
  $ cd ../itws/
  $ git branch 1.1 origin/1.1
  $ git checkout 1.1
  $ ../../bin/python setup.py install
  $ cd ../shop/
  $ ../../bin/python setup.py install


 

Create a new instance


Initialiaze instance:


  $ ./bin/icms-init.py shop.localhost

    Type your email address: admin@localhost.com
    *
    * Welcome to ikaaro
    * A user with administration rights has been created for you:
    *   username: admin@localhost.com
    *   password: xxx
    *
    * To start the new instance type:
    *   icms-start.py shop.localhost
    *

Edit config file and file modules with "shop, itws"



  $ vi shop.localhost/config.conf

    > modules = shop itws


 

Start instance



   $ ./bin/icms-start.py shop.localhost
     Listen :8080


Create your website


- Edit your /etc/hosts file and add:


   127.0.0.1   shop admin.shop

- Go to http://localhost:8080/;new_resource?type=WebSite


    firefox http://localhost:8080/;new_resource?type=WebSite


- Choose "Shop website" and set the virtual host of your shop (one per line):
    - shop
    - admin.shop

- See your shop front and backoffice:

::
    $ firefox http://shop:8080/
    $ firefox http://admin.shop:8080/