Skip to content

colin-combe/xiView_container

Repository files navigation

xiView_container

brings together various git project from Rappsilber Laboratory to provide a search software independent web interface to CLMS data. It uses the git submodule mechanism (except for xiAnnotator at the moment).

Installation Instructions

1. Checkout out this github project, initialising submodules

git clone --recurse-submodules https://github.com/Rappsilber-Laboratory/xiView_container.git

2. Install Apache, PostgreSQL, PHP postgres modules

3. Initialise the database by running the schema.sql script from this project

you will need to search and replace on the schrema.sql to swap 'username' for your PostgreSQL user name

4. Configure the python environment for the file parser

Follow the instructions at https://github.com/Rappsilber-Laboratory/xiSPEC_ms_parser but you don't need to install sqlite; instead you need to edit the file xiSPEC_ms_parser/credentials.py to point to your postgress database.

5. Install xiAnnotator

Follow the instructions at https://github.com/Rappsilber-Laboratory/xiAnnotator/tree/master/doc/SysV

Connecting to the annotator from the javascript running in the browser requires you to do some stuff setting up a proxy to it. I think you will need the apache proxy_http & headers modules installed.

You will need something like this in the apache config for the host: '''<Location "/xiAnnotator"> ProxyPass http://localhost:8083/xiAnnotator ProxyPassReverse http://localhost:8083/xiAnnotator Header add "Access-Control-Allow-Origin" "*"
'''

6. Edit yet more config files (todo - tidy this up)

Edit ./connectionString.php so it points to your PostgreSQL database Edit ./xiSPEC_config so it points to your xiAnnotator service

.gitignore will ignore your changes to these files

Copy the xi_ini directory in this project into the project parent directory cp ./xi_ini ../xi_ini Edit ../xi_ini/emailInfo.php to contain the information needed for user registration, this is (i) your google recaptcha secret key, and (ii) the email account details. The email account is used to send confirmation emails and password reset requests.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published