From: Chris W. <la...@us...> - 2004-11-30 02:00:41
|
Update of /cvsroot/openinteract/OpenInteract2/doc/Manual In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1264/Manual Modified Files: QuickStart.pod Log Message: inline quickstart examples Index: QuickStart.pod =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/doc/Manual/QuickStart.pod,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** QuickStart.pod 13 Jun 2004 18:19:06 -0000 1.9 --- QuickStart.pod 30 Nov 2004 02:00:29 -0000 1.10 *************** *** 46,50 **** website will live. The directory shouldn't exist yet. ! [% INCLUDE examples/quickstart_export_path | indent 2 %] (You'll need to use the full path for now, relative paths will fail in --- 46,50 ---- website will live. The directory shouldn't exist yet. ! $ export OPENINTERACT2=/PATH/TO/WEBSITE (You'll need to use the full path for now, relative paths will fail in *************** *** 56,60 **** Next, issue the command to create the website: ! [% INCLUDE examples/quickstart_create_site | indent 2 %] (You'll need to use the full path for now, relative paths will fail in --- 56,60 ---- Next, issue the command to create the website: ! $ oi2_manage create_website --source_dir=/path/to/OpenInteract2-source (You'll need to use the full path for now, relative paths will fail in *************** *** 79,83 **** Change: ! [% INCLUDE examples/quickstart_cfg_email | indent 2 %] to something relevant to your situation. --- 79,86 ---- Change: ! [mail] ! smtp_host = 127.0.0.1 ! admin_email = ad...@my... ! content_email = co...@my... to something relevant to your situation. *************** *** 87,95 **** Change: ! [% INCLUDE examples/quickstart_cfg_dbi_before | indent 2 %] to: ! [% INCLUDE examples/quickstart_cfg_dbi_after | indent 2 %] B<Set session handler> --- 90,118 ---- Change: ! [datasource main] ! type = DBI ! spops = ! driver_name = ! dsn = ! username = ! password = ! db_owner = ! sql_install = ! long_read_len = 65536 ! long_trunc_ok = 0 to: ! [datasource main] ! type = DBI ! spops = SPOPS::DBI::SQLite ! driver_name = SQLite ! dsn = dbname=/PATH/TO/WEBSITE/oi2test.db ! username = ! password = ! db_owner = ! sql_install = ! long_read_len = 65536 ! long_trunc_ok = 0 B<Set session handler> *************** *** 102,106 **** You need to create the database tables and seed it with initial data: ! [% INCLUDE examples/quickstart_install_sql | indent 2 %] This tells the OI2 website you've specified in the environment --- 125,129 ---- You need to create the database tables and seed it with initial data: ! $ oi2_manage install_sql --package=SYSTEM This tells the OI2 website you've specified in the environment *************** *** 116,120 **** Now it's time to create the superuser password: ! [% INCLUDE examples/quickstart_install_root_password | indent 2 %] (replacing 'cindilauper' with your favorite password) --- 139,143 ---- Now it's time to create the superuser password: ! $ oi2_manage create_password --password=cindilauper (replacing 'cindilauper' with your favorite password) *************** *** 125,134 **** command: ! [% INCLUDE examples/quickstart_start_server | indent 2 %] This uses the C<OPENINTERACT2> environment variable set earlier. You should see a message similar to this: ! [% INCLUDE examples/quickstart_daemon_output | indent 2 %] Now fire up your web browser to the given URL and you should see the --- 148,160 ---- command: ! $ oi2_daemon This uses the C<OPENINTERACT2> environment variable set earlier. You should see a message similar to this: ! Using OPENINTERACT2 environment for website directory: ! /PATH/TO/WEBSITE ! Using daemon configuration from website directory ! OpenInteract2 now running at URL <http://localhost:8080> Now fire up your web browser to the given URL and you should see the *************** *** 142,150 **** C</PATH/TO/WEBSITE/conf/log4perl.conf> change: ! [% INCLUDE examples/quickstart_log4perl_before | indent 2 %] to: ! [% INCLUDE examples/quickstart_log4perl_after | indent 2 %] Restart your server once you've made the change and monitor the file --- 168,176 ---- C</PATH/TO/WEBSITE/conf/log4perl.conf> change: ! log4perl.logger.OI2 = INFO to: ! log4perl.logger.OI2 = DEBUG Restart your server once you've made the change and monitor the file *************** *** 152,156 **** curtain. You may see a message like this: ! [% INCLUDE examples/quickstart_db_shutdown_msg | indent 2 %] Don't worry about it. We have to do this to prevent the forked --- 178,183 ---- curtain. You may see a message like this: ! 2003/06/26 10:30:15: OpenInteract2::DatasourceManager 121 Disconnecting ! datasource main from manager shutdown Don't worry about it. We have to do this to prevent the forked *************** *** 166,170 **** the process: ! [% INCLUDE examples/quickstart_kill_daemon | indent 2 %] =head1 MODULE INSTALL --- 193,197 ---- the process: ! $ kill -15 `cat /PATH/TO/WEBSITE/conf/oi2.pid` =head1 MODULE INSTALL |