From 09182a0a69b8952947bf797e677302f1d82d8fc2 Mon Sep 17 00:00:00 2001 From: AndrewCRMartin Date: Tue, 24 Oct 2017 13:29:52 +0100 Subject: [PATCH] Updates to install docs and script --- .gitignore | 10 +++-- ...dLine.txt => 00INSTALL_CommandLineOnly.txt | 0 00INSTALL_WebInterface.md | 40 +++++++++++++++++++ install.sh | 10 ++--- web/config_home.cfg | 3 +- web/config_ucl.cfg | 3 +- web/index.tt | 11 ++++- 7 files changed, 66 insertions(+), 11 deletions(-) rename 00INSTALL_CommandLine.txt => 00INSTALL_CommandLineOnly.txt (100%) create mode 100644 00INSTALL_WebInterface.md diff --git a/.gitignore b/.gitignore index c17f31a..8175fd6 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,10 @@ data/consScores/FOSTA/* data/consScores/BLAST/* data/IntPred/*.model* setup.sh -packages/bioptools-1.4.tar.gz -packages/bioptools-1.4/ -packages/TCNlib-0.1/ \ No newline at end of file +packages/bioptools-*.tar.gz +web/footer.tt +web/header.tt +web/menu.tt +web/Makefile +web/config.cfg +web/index.html diff --git a/00INSTALL_CommandLine.txt b/00INSTALL_CommandLineOnly.txt similarity index 100% rename from 00INSTALL_CommandLine.txt rename to 00INSTALL_CommandLineOnly.txt diff --git a/00INSTALL_WebInterface.md b/00INSTALL_WebInterface.md new file mode 100644 index 0000000..5372baf --- /dev/null +++ b/00INSTALL_WebInterface.md @@ -0,0 +1,40 @@ +IntPred Web Server Install +========================== + +1. Create a directory in your web hierarchy - e.g. +```/home/httpd/html/intpred2``` + +2. Clone the IntPred repository into a directory. This will be where +IntPred is installed. It doesn't have to be in the web hierarchy, but +I suggest that it is. e.g. +``` +cd /home/httpd/html/intpred2/ +git clone git@github.com:ACRMGroup/IntPred.git +``` + +3. Install IntPred from the cloned directory. e.g. +``` +cd /home/httpd/html/intpred2/IntPred +./install.sh +source ./setup.sh +``` +You must be root or have sudo permissions to do this. See the notes in +`00INSTALL_CommandLine.txt` (`README.md`) for more details. + +4. Change to the `web` sub-directory of IntPred to your web +Create/modify the config.cfg file as required +``` +cd /home/httpd/html/intpred2/IntPred/web +emacs config.cfg +``` + +5. Run the configure script, build and install the web pages: +``` +./configure.pl +make +make install +``` +See notes in the `web/README.md` file on Apache configuration. + + + diff --git a/install.sh b/install.sh index 70ec67c..8798613 100755 --- a/install.sh +++ b/install.sh @@ -55,7 +55,7 @@ o conf commit EOF fi -if promptUser "Install Perl dependencies including BioPerl?"; then +if promptUser "Install Perl dependencies including BioPerl (for the Perl you are using)?"; then yes | sudo $PERL -MCPAN -e shell <Paper as submitted][Supplementary - Material] + Material][Datasets]

+ + + +