pjs/webtools/litmus/INSTALL

39 строки
1.2 KiB
Plaintext
Исходник Обычный вид История

2007-05-31 18:13:51 +04:00
= Litmus Installation Instructions =
2007-05-31 18:13:51 +04:00
== Required Perl Modules ==
Apache::DBI
2007-05-29 19:18:27 +04:00
CGI
Class::DBI
Class::DBI::mysql
2007-05-29 19:18:27 +04:00
Data::Dumper
Data::JavaScript
Date::Manip
2007-05-29 19:18:27 +04:00
File::Find
Getopt::Long;
HTML::StripScripts
HTML::StripScripts::Parser
2007-05-29 19:18:27 +04:00
JSON
Sys::Hostname
Template
2007-05-29 19:18:27 +04:00
Test::Harness
2006-06-16 22:36:51 +04:00
Text::Markdown
Time::HiRes
Time::Piece
Time::Piece::MySQL
Time::Seconds
2006-06-16 22:36:51 +04:00
XML::XPath
2007-05-31 18:13:51 +04:00
== Setting up the database ==
2007-05-31 18:13:51 +04:00
Run populatedb.pl. This will create a template configuration file, 'localconfig,' that contains variables to hold your database configuration information. Edit the newly created 'localconfig' file with your database configuration. Once 'localconfig' is populated with your database information, run the populatedb.pl again to populate the initial products, locales, etc... There is no UI at present for doing this.
Then just pop the whole thing into a directory where your web server can
get at it. Have fun!
Note: After upgrading Litmus, it's a good idea to run populatedb.pl
2007-05-31 18:13:51 +04:00
again to pick up any schema changes that may have occured.
== Creating the first admin user ==
Click 'Log In' and create a new Litmus account. In the database, set 'is_admin' = 1 for the new user in the users table. That user will now have access to the admin functions of Litmus through the web interface.