Multiple instances of Docmint
Inside the Docmint folder there are one (or
two, if you use the local PEAR repository) special folders:
When installing Docmint, the setup
procedure asks you to specify the location of these two folders. In the case of
the PEAR_local folder, you have the option to leave the form (i.e. variable in configure.php)
empty if you use the system wide installation of PEAR.
If you take a look inside the configure.php
file you will see that there are a number of variables you can set separately. Important
for multiple instances of Docmint are the following:
<?php
$MY_ENV['BASE_ENGINE_LOC'] = "/path/to/docmint/engine";
$MY_ENV['BASE_ENGINE_URL'] =
"http://localhost/docmint/engine";
$MY_ENV['PEAR_local'] = "/path/to/docmint/PEAR_local";
?>
For a second instance of Docmint all you need to do is:
- Copy all files and folders BUT 'engine'
and 'PEAR_local' to a new directory you can access via HTTP
- Delete the files configure.php and configure_db.php
in the new folder
- Point your browser to the new URL
- When filling out the setup form, make
sure you give the old location (i.e. the first install of Docmint) for all
issues related to 'engine' and 'PEAR'
By doing so, you can manage all Docmint
instances via one 'engine' and 'PEAR' folder. This might make it easier for the
administration.
add a note
User Contributed Notes
Multiple instances of Docmint
There are no user contributed notes for this page.