Menu

install walktrhru for cutesite v. 1.18

2004-02-22
2004-02-22
  • troels knak-nielsen

    First off, unpack archive to your wwwroot.
    Next you have to edit the file cutesite.ini
    fill in the appropiate values for site_root var_dir and [database]
    next you point your browser to http://localhost/install.php
    if you get an error about register_globals, you'll have to turn it on.
    you can do so by adding the following line to the .htaccess files (in root and /manage)
    php_flag register_globals On
    you'll ofcause also need to make a database for the system.
    when you're done, delete the install.php file and point your browser to http://localhost/manage/login.php
    login/pass is admin/admin

     
    • Sergey Volkov

      Sergey Volkov - 2004-02-22

      How to install:

      Edit in cutesite.ini:

      [common]

      ; Path to webdir where you put all CuteSITE files.
      ; For Windows users: you not need use doubled backslash.

      site_root = h:\path\to\htdocs\ ;site_root = /unix/path/to/htdocs/

      ; Directory where CuteSITE save site snapshots.

      var_dir = "h:\path\to\htdocs\var\"

      store_file = store
      start_folder = main
      start_template = main

      ; Directory where CuteSITE will put all your images.
      ; It relative to your site_root dir. Enter just name
      ; of directory. Don't forget, your php scripts must have
      ; permissions for write files in these directory.

      images_dir = images

      ; Error page, if presented then CuteSITE will redirect any
      ; 404 (not found) errors to this folder.
      ; You must create this folder in CuteSITE manage area, or
      ; comment this directive.

      ;error_page = /error/

      ; Edit it as you want
      admin_title = CuteSITE Manage Area

      ; This text will when you login to manage area
      welcome_message = "CuteSITE - develop server"

      [database]

      ; Enter your database host, name, login and password

      DB_HOST = localhost
      DB_NAME = test
      DB_USER = root
      DB_PASS = secret

      [languages]

      ; At least one lenguagew must presented in languages section.
      ; This demonstrating of using two languages in this web site
      ; russian and english.

      en = English
      ru = Russian

      Now very important step, run in browser:
        http://yourserver.name/install.php

      That is install script which analyse file cutesite.ini
      and prepare your database and site object for use in
      manage area.
      When install script found errors it say you about problem.
      That's sample of finished installation:

          Preparing to install CuteSITE
         
          Let's see on cutesite.ini file:
          Looking good.

          Preparing MySql database:
          200 ok.

          Default user created. Login 'admin', password 'admin'
          Default container 'folders' created.
          Main folder 'main' created.
          Start template 'main' created.

          All systems go!
         

      After successfull installation go to:
          http://yourserver.name/manage/
          (login: admin, password: admin)

      Don't forget to delete install.php from your
      htdocs folder.

       

Log in to post a comment.