pjs/webtools/litmus/INSTALL

57 строки
1.8 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 - if mod_perl is being used
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
Also, note that 'sendmail' (or a mailer with a compatible command-line
interface) is required.
2007-05-31 18:13:51 +04:00
== Setting up the database ==
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!
To get yourself an administrator account, you'll need to load up Litmus in your
web browser and follow the link to create a new account. You'll have been
lucky enough to score user id number 1. Grant yourself admin rights by loading
up mysql, connecting to your Litmus database, and running the following command:
insert into user_group_map values ('1', '1');
From there, you can go into "Edit Users" in the web interface and grant
rights to any new users.
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.