Homepage: Narro
Download version:
OS version: CentOS 5
# uname -a
Linux hzserver2 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux
Installation path:
# cat /etc/httpd/conf.d/narro.conf
……
Alias /narro /var/www/narroOrder Deny,Allow
Deny from all
# Allow from 127.0.0.1
Allow from xxx.xxx.xxx.xxx/24
Modify the config file:
# cat /var/www/narro/includes/configuration.inc.php
……
define (‘__DOCROOT__’, realpath(dirname(__FILE__) . ‘/../..’));
define (‘__VIRTUAL_DIRECTORY__’, ”);
define (‘__HTTP_URL__’, ‘http://xxx.xxx.xxx.xxx’);
define (‘__SUBDIRECTORY__’, ‘/narro’);
define (‘__PHP_CLI_PATH__’, ‘/usr/bin/php’);
define (‘ADMIN_EMAIL_ADDRESS’, ‘xxx@yyy.com’);
……
define(‘DB_CONNECTION_1′, serialize(array(
‘adapter’ => ‘MySqli5′,
‘encoding’ => ‘UTF8′,
‘server’ => ‘localhost’,
‘port’ => null,
‘database’ => ‘narro’,
‘username’ => ‘narro’,
‘password’ => ‘narro’,
‘profiling’ => false)));
……
Install database script
# mysql -u narro narro < /var/www/narro/narro.sql
Modify permission
# chmod -R 777 /var/www/narro/data
# chmod -R 777 /var/www/narro/locale
Restart httpd service
# service httpd restart
Access Narro web page
http://xxx.xxx.xxx.xxx/narro
Register one account of narro
Note: The first account will get super powers.
Create one new language
Chinese Simplified
Create one new project
sandbox
Setup the project
Go to manage the project as admin, import project with the archive file (*.tar.gz, *.zip)
e.g. sandbox.zip (two directories, en-US and zh-CN)
|- en-US – messages.po
|- zh-CN
e.g. messages.po (one file to be transferred)
……
msgid “%1$s created platform %2$s”
msgstr “%1$s 新增了平台 %2$s”
……
Refer to:
http://code.google.com/p/narro/source/browse/narro/INSTALL
