tazpanel diff README @ rev 55

debug: add HTTP environment
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 10 22:01:15 2011 +0200 (2011-04-10)
parents cf15cb2ff715
children a797e9424727
line diff
     1.1 --- a/README	Sat Apr 09 00:22:23 2011 +0200
     1.2 +++ b/README	Sun Apr 10 22:01:15 2011 +0200
     1.3 @@ -2,26 +2,26 @@
     1.4  ================================================================================
     1.5  
     1.6  
     1.7 -Tazpanel is the SliTaz Control Panel, a web interface who let you manage the
     1.8 -full system  in a redically simple way. The output xHTML code is valid xHTML 5
     1.9 +Tazpanel is the SliTaz Control Panel, a web interface which lets you manage the
    1.10 +full system in a radically simple way. The output xHTML code is valid xHTML 5
    1.11  and all theming is done with standard CSS 3.
    1.12  
    1.13  
    1.14  Use it!
    1.15  ------
    1.16  You can clone the tazpanel repo into /var/www/tazpanel and work on this
    1.17 -copy or clone it someweher esle and 'make install'. After, add tazpanel to
    1.18 +copy or clone it somewhere else and 'make install'. After, add tazpanel to
    1.19  your /etc/hosts, type './tazpanel start' to start the server and go to the
    1.20 -URL: http://tazpanel:8090 Panel user and password is defined in httpd.conf
    1.21 +URL: http://tazpanel:8090. Panel user and password is defined in httpd.conf
    1.22  and default is root:root
    1.23  
    1.24  
    1.25  i18n
    1.26  ----
    1.27 -TazPanel have been coded from the beginning with gettext support. Please
    1.28 +TazPanel has been coded from the beginning with gettext support. Please
    1.29  forget 'echo' and use gettext, but remember that gettext "" is equivalent
    1.30 -to echo -n. All script use the same TEXTDOMAIN and the same pot files, all
    1.31 -translations goes in the po/ folder. To start a new translation please
    1.32 +to echo -n. All scripts use the same TEXTDOMAIN and the same pot files, all
    1.33 +translations go in the po/ folder. To start a new translation please
    1.34  use msginit from the pot file directory. Example for French/France
    1.35  locale (fr_FR):
    1.36  
    1.37 @@ -34,44 +34,44 @@
    1.38  
    1.39  User interface
    1.40  --------------
    1.41 -If you develope an official SliTaz GUI for TazPanel, please follow the style.
    1.42 -If you need more CSS markup and you not a coder, please ask an official
    1.43 -developer the better way to implement your idea. TazPanel is fully themable
    1.44 +If you develop an official SliTaz GUI for TazPanel, please follow the style.
    1.45 +If you need more CSS markup and you are not a coder, please ask an official
    1.46 +developer for the best way to implement your idea. TazPanel is fully themable
    1.47  and more than one theme can be installed, this will let us make packages
    1.48 -for TazPanel style! All the GUI is done with xHTML 5 and CSS 3, some
    1.49 -javascript can be used, but with precaution... one more time, it's better
    1.50 -to check with a main contributor before adding to much stuff, the goal is,
    1.51 -as for the all SliTaz project: KISS
    1.52 +in a TazPanel style! All the GUI is done with xHTML 5 and CSS 3, some
    1.53 +javascript can be used, but with precautions... one more time, it's better
    1.54 +to check with a main contributor before adding too much stuff, the goal is,
    1.55 +as for the all SliTaz projects: KISS
    1.56  
    1.57  
    1.58  CGI template and files
    1.59  ----------------------
    1.60  To start or test new function with TazPanel you will find a a file in
    1.61 -utils/template.cgi that need to be in the $PANEL root to work, all TazPanel
    1.62 +utils/template.cgi that needs to be in the $PANEL root to work, all TazPanel
    1.63  CGI scripts are in that location. If you think your code is too big to fit
    1.64 -in an other script you can eventually creat a new CGI page and update all
    1.65 +in another script you can eventually create a new CGI page and update all
    1.66  links, but please to talk to the AUTHORS before.
    1.67  
    1.68 -	* index.cgi     Main Tazpanel CGI script (some stuff may be splited
    1.69 +	* index.cgi     Main Tazpanel CGI script (some stuff may be split
    1.70  	                into users.cgi, boot.cgi, etc if too big or slow)
    1.71 -	* network.cgi   All related stuff to networking (eth, wifi, servives)
    1.72 +	* network.cgi   All related stuff to networking (eth, wifi, services)
    1.73  	* pkgs.cgi      Tazpkg packages CGI interface
    1.74  	* system.cgi    System settings and services such as time, users
    1.75  	                accounts, locales or daemons management
    1.76  	* live.cgi      All tools related to Live systems (CD, USB, Frugal)
    1.77  	* hardware.cgi  Devices drivers, firmware, printing
    1.78  
    1.79 -For common function have a look to lib/libtazpanel you may founf functions
    1.80 -yoou need already coded such as xhtml_header to get the style header.html
    1.81 -in you CGI script. For the loading message you can use loading_msg. When
    1.82 +For common functions have a look to lib/libtazpanel, you may found functions
    1.83 +you need already coded such as xhtml_header to get the style header.html
    1.84 +in your CGI script. For the loading message you can use loading_msg. When
    1.85  cat is used: `gettext "Text to translate"`
    1.86  
    1.87  
    1.88  Web server
    1.89  ----------
    1.90 -Tazpanel can run with Busybox httpd applet or LightTPD an propably Apache.
    1.91 -Start the webserver with custom config to listen only on local port for
    1.92 -security reason since we run as root to perform system actions, example:
    1.93 +Tazpanel can run with Busybox httpd applet or LightTPD and probably Apache.
    1.94 +Start the webserver with a custom config to listen only on a local port for
    1.95 +security reasons since we run as root to perform system actions, example:
    1.96  
    1.97  # httpd -p 8090 u root -c /etc/slitaz/httpd.conf
    1.98