Skip to content

Commit

Permalink
Update README file
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusandrade committed Jul 31, 2012
1 parent ebf584a commit 94f089b
Showing 1 changed file with 37 additions and 13 deletions.
50 changes: 37 additions & 13 deletions README.md
Expand Up @@ -8,7 +8,7 @@ The application work with PHP 5.3.3 or later.

## Instalation

* Download the last version from **Downloads** link from github repository (zip or tar gz file) and
1. Download the last version from **Downloads** link from github repository (zip or tar gz file) and
extract the file to your server.
Example: Creating a structure and deploy the application under server **/opt/** directory:

Expand All @@ -21,26 +21,18 @@ Example: Creating a structure and deploy the application under server **/opt/**
$ mv bireme-isis-oai-provider-53c0abc/ isis-oai-provider
```

* Create a VirtualHost for the web application (alternatively you can copy directories for a existing VirtualHost)
2. Deploy the aplication on the Web Server (ex. Apache Web Server)

* Option A - Using a specific VirtualHost for the web application

```
<VirtualHost *:80>
ServerName isis-oai-provider.local
DocumentRoot /opt/bireme/isis-oai-provider/htdocs/
<Directory "/opt/bireme/isis-oai-provider/htdocs">
Options +FollowSymLinks
AllowOverride FileInfo
Options Indexes ExecCGI MultiViews FollowSymLinks
MultiviewsMatch Handlers
Order allow,deny
Allow from all
</Directory>
<Directory "/opt/bireme/isis-oai-provider/cgi-bin">
Options +ExecCGI
AllowOverride None
Options FollowSymLinks MultiViews
Order deny,allow
</Directory>
Expand All @@ -51,11 +43,43 @@ Example: Creating a structure and deploy the application under server **/opt/**
</VirtualHost>
```

* Rename configuration files
* Option B - Using a existing VirtualHost

Assuming you have a website running you need to find the path where is located the following components:

DocumentRoot --- directory where static files and PHP scripts are located
CGI-BIN --- directory with execution permission for CGI scripts
ISIS dabases --- directory on the server where ISIS databases are located

Then move/copy or create symbolic links to the isis-oai-provider directories:

Ex. Assuming a website with this directory structure:
/home/sites/
/site1/
htdocs/
cgi-bin/
bases/

$ cd /home/sites/site1/
$ cd htdocs
$ ln -s /opt/bireme/isis-oai-provider/htdocs/isis-oai-provider/ .
$ cd ..
$ cd cgi-bin
$ ln -s /opt/bireme/isis-oai-provider/cgi-bin/isis-oai-provider/ .



3. Rename configuration files

```
$ cd htdocs/isis-oai-provider/
$ mv oai-config-sample.php oai-config.php
$ mv oai-databases-sample.php oai-databases.php
```

4. To test the application call your browser and inform your server name like: **http://your_server_name/isis-oai-provider/**

Ex. http://isis-oai-provider.local/isis-oai-provider/


0 comments on commit 94f089b

Please sign in to comment.