This shows you the differences between two versions of the page.
setupguide:setup_with_prolineadmin [2015/09/30 16:09] 193.48.0.3 créée |
setupguide:setup_with_prolineadmin [2016/02/04 11:55] (current) 132.168.72.225 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Set up the Datastore and Proline Server with ProlineAdmin (command-line) ===== | + | ====== Setup Proline Suite with Proline-Admin (command-line)====== |
- | ==== Set up the Datastore ==== | ||
- | You must first configure ProlineAdmin since this component is used to create the databases needed by Proline. | + | You must first configure Proline-Admin since this component is used to create the databases needed by Proline. |
- | Edit the configuration file ''config/application.conf'' located in the ProlineAdmin folder (see [[#configure_prolineadmin|"Configuring ProlineAdmin"]] section below). | + | ===== DataStore ===== |
- | Then perform the datastore setup by running the dedicated script. | + | |
- | === Launch ProlineAdmin === | ||
- | == Windows users == | + | Edit the configuration file ''config/application.conf'' located in the Proline-Admin folder. Then perform the datastore setup by running the dedicated script. |
- | The ProlineAdmin program files are located in the ".\admin" sub-folder of the Proline installation directory. | + | The ProlineAdmin program files are located in the ".\admin" sub-folder of the Proline installation directory if you used the Windows installer. Otherwise they should be in the folder obtained after Proline Admin GUI archive file extraction. |
- | You should find the following script in this folder: | + | |
- | + | ||
- | <code> | + | |
- | > setup_proline.bat | + | |
- | </code> | + | |
- | + | ||
- | == Linux users or manual installation == | + | |
- | + | ||
- | Execute the ''setup_proline.sh'' script located in the folder obtained after Proline Admin GUI archive file extraction. | + | |
+ | ==== Configuration files ==== | ||
- | === Configure ProlineAdmin === | + | To allow Proline Admin to access to Proline DataStore, you should modify the application.cong file located under the config foler of your Proline Admin installation directory. |
- | Modify the following lines to fit your DBMS configuration: | ||
<code> | <code> | ||
+ | server-config-file = "" | ||
+ | pwx-config-file = "" | ||
+ | postgresql-data-dir = "" | ||
+ | |||
proline-config { | proline-config { | ||
driver-type = "postgresql" // valid values are: h2, postgresql or sqlite | driver-type = "postgresql" // valid values are: h2, postgresql or sqlite | ||
Line 34: | Line 26: | ||
auth-config { | auth-config { | ||
- | user="proline_user" //!! SET TO Database Proline user login | + | user="<user-proline>" //!! SET TO Database Proline user login |
- | password="proline_user_password" //!! SET TO Database Proline user password | + | password="<proline_user_password>" //!! SET TO Database Proline user password |
} | } | ||
Line 42: | Line 34: | ||
port="5432" //or other port used to access your DBMS | port="5432" //or other port used to access your DBMS | ||
} | } | ||
+ | ... | ||
</code> | </code> | ||
- | __Note__: default naming scheme of databases created by Proline can be modified by editing ''config/application-<dbtype>.conf'' file. | + | __Note__: |
+ | * default naming scheme of databases created by Proline can be modified by editing ''config/application-<dbtype>.conf'' file. | ||
+ | * Other parameters shouldn't be modified unless specific usage. | ||
+ | * ''server-config-file'' and ''pwx-config-file'' may only be used when using [[setupguide:setup_with_prolineadmin_gui|Admin GUI]] configuration editor | ||
** Do not confuse: ** | ** Do not confuse: ** | ||
Line 50: | Line 47: | ||
* 'postgresql-data-dir': references the PostgreSQL data directory (for ProlineAdmin purposes). \\ | * 'postgresql-data-dir': references the PostgreSQL data directory (for ProlineAdmin purposes). \\ | ||
- | === Set up the Datastore === | + | ==== Setup ==== |
- | Perform the datastore setup by running the dedicated script. | + | |
- | \\ | + | |
- | \\ | + | |
- | ==== Set up Proline Server ==== | + | Once all configuration have been done, run from the Proline-Admin installation directory : |
- | === Locate the server folder === | + | Under Windows |
+ | <code> | ||
+ | > setup_proline.bat | ||
+ | </code> | ||
+ | |||
+ | Under Linux | ||
+ | <code> | ||
+ | > setup_proline.sh | ||
+ | </code> | ||
+ | |||
+ | |||
+ | ===== Proline Server ===== | ||
- | //Windows users :// \\ | + | When using command line configuration, you should manually edit and configure Proline Server file (application.conf) |
- | The server program files are located in the ".\ws" sub-folder of the Proline installation directory. | + | |
- | //Linux users or manual installation ://\\ | ||
- | Open the folder where you have unzipped the "Proline Server" archive. The Proline server folder should contain a sub-folder named ''ProlineWeb-Core-<x.y.z>''. | ||
- | === Edit the configuration file === | + | The server folder is located in the ".\ws" sub-folder if Windows installer has been used or in the folder where you have unzipped the "Proline Server" archive. |
+ | This folder should contain a sub-folder named ''ProlineWeb-Core-<x.y.z>''. | ||
The configuration file is located at ''<proline_server_folder>\ProlineWeb-Core-<x.y.z>\Proline\WEB-INF\classes''. \\ | The configuration file is located at ''<proline_server_folder>\ProlineWeb-Core-<x.y.z>\Proline\WEB-INF\classes''. \\ | ||
- | === Configure the datastore === | + | ==== Configure the datastore ==== |
- | Edit the ''application.conf'' file in the same way you did it for ProlineAdmin (see [[#Setting up the Datastore]]). | + | Edit the ''application.conf'' file in the same way you did it for ProlineAdmin (see [[#Configuration files]]). |
If your configuration is valid, the Proline Server will be able to use the datastore you've created using Proline Admin. | If your configuration is valid, the Proline Server will be able to use the datastore you've created using Proline Admin. | ||
- | === Configure the mount-points === | + | ==== Configure the mount-points ==== |
Result identification files (Mascot dat, OMSSA or X!Tandem) as well as mzDB files (for the XIC Quantitation process) are only browsed from Proline Server side. | Result identification files (Mascot dat, OMSSA or X!Tandem) as well as mzDB files (for the XIC Quantitation process) are only browsed from Proline Server side. | ||
Line 108: | Line 111: | ||
- | \\ | + | |
- | Go back to [[setupguide:firstinstall#running_the_server | Installing the Porline suite: Running the server ]]. | + | |