To set up a demo yourself, all you have to do is to actually install Conesys twice on your host. For example, you might install one version to
/srv/www/htdocs/conesys_1/
which we'll call conesys_1.
and another version to
/srv/www/htdocs/conesys_1/
which we'll call conesys_2.
For both installations procede as shown in ConesysInstallation, but take care about the following points while installing:
- when configuring com.zzoss.repository.build, choose Community ID "2" for conesys_2, keep Community ID "1" for conesys_1
- install conesys_1 and conesys_2 to two different databases
- e.g. for conesys_1, create a database called
conesys_1
. The respective data source name may bemysql://root:@localhost/conesys_1
and should replace all default values - e.g. for conesys_2, create a database called
conesys_2
. The respective data source name may bemysql://root:@localhost/conesys_2
and should replace all default values
- e.g. for conesys_1, create a database called
After successful installation, point your browser to
http://localhost/conesys_1/mod/zzoss_harvester/admin/
Click on "Add".
This will prompt a form where you can add data about another repository. Here you actually define the IDs of the repository and how to connect to it.
Enter the following sample data, leave the other fields empty. They will automatically be inserted upon submission or are not important for the harvester to work properly:
- network_id: 1
- network_name: conesys_test_network
- network_label: Our Testing Network
- community_id: 2
- community_name: conesys_2
- community_label: Our Second Conesys Installation
- repository_id: 1
- repository_name: zzoss_repositories
- repository_label: ZZ/OSS Repositories
- dsn: http://localhost/conesys_2/mod/zzoss_oai/
- api: ZZOSS::Repository::PHP::PEAR::OAI::Client
- schema: zzoss_repositories
Click "Submit" then click on "List" and you will see the filled-in data.
Next, we switch to the repository administration of conesys_2 by pointing our browser to
http://localhost/conesys_2/mod/zzoss_repository/admin/
There, click on "Add" and choose "ZZ/OSS Repositories".
Now you can fill in arbitrary data, it does not matter of what kind, we simply need to fill up the database with new items. Just make sure that you enter various dates into the _created field in the format YYYY-MM-DD hh:mm::ss.
Go back to conesys_1 harvester administration to
http://localhost/conesys_1/mod/zzoss_harvester/admin/harvest.php
Here you choose the repository you entered before from the drop-down list. It should be indicated as
Our Testing Network::Our Second Conesys Installation::ZZ/OSS Repositories
Then also select the harvesting options and click on "submit". Now the harvester will grab the data as specified from the remote ZZ/OSS Repository (conesys_2) and writes it to the local ZZ/OSS Repository (conesys_1). To verify, go to the URL below and choose "ZZ/OSS Repositories" to see the harvested data that has been added.
http://localhost/conesys_1/mod/zzoss_repository/admin/index.php
PHP Warnings
lib/WikiUser.php:50: Notice[8]: Only variables should be assigned by reference
lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference
lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference
lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference
lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference
lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference
lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference
lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference
lib/Template.php:220: Notice[8]: Only variables should be assigned by reference
lib/Template.php:106: Notice[8]: Only variables should be assigned by reference
lib/Template.php:107: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'top'?)(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'top'?)(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
lib/pear/DB/common.php(In template 'navbar'?)(In template 'top'?)(In template 'body'?)(In template 'html'?):741: Notice[8]: Only variable references should be returned by reference
lib/Template.php(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'browse'?)(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'browse'?)(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'actionbar'?)(In template 'browse'?)(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'actionbar'?)(In template 'browse'?)(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
Page Execution took 0.312 seconds |