Changeset 31610

Show
Ignore:
Timestamp:
19.04.2017 23:02:05 (2 years ago)
Author:
davidb
Message:

Mods after testing first install

Location:
other-projects/meddle/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • other-projects/meddle/trunk/INSTALL.sh

    r31608 r31610  
    66if [ ! -d "$MEDDLE_WEBDIR" ] ; then 
    77  echo "Creating cgi-bin directory: $MEDDLE_WEBDIR" 
    8   mkdir "$MEDDLE_WEBDIR" 
     8  sudo mkdir "$MEDDLE_WEBDIR" 
     9  sudo chown $USER "$MEDDLE_WEBDIR" 
    910fi 
    1011 
    1112if [ ! -d "$MEDDLE_CGIDIR" ] ; then 
    1213  echo "Creating cgi-bin directory: $MEDDLE_CGIDIR" 
    13   mkdir "$MEDDLE_CGIDIR" 
     14  sudo mkdir "$MEDDLE_CGIDIR" 
     15  sudo chown $USER "$MEDDLE_CGIDIR" 
     16fi 
     17 
     18if [ ! -d "$MEDDLE_CGIDIR/sqlite" ] ; then 
     19  echo "Creating sqlite directory: $MEDDLE_CGIDIR/sqlite" 
     20  sudo mkdir "$MEDDLE_CGIDIR/sqlite" 
     21  sudo chown $USER "$MEDDLE_WEBDIR/sqlite" 
     22  sudo chmod a+rwx "$MEDDLE_WEBDIR/sqlite" 
     23  echo "*** Make sure the database in this directory is writable by the cgi-script" 
    1424fi 
    1525 
  • other-projects/meddle/trunk/index.js

    r31605 r31610  
    22$(document).ready(function() { 
    33 
    4     //$('#root').load("https://bedrock.resnet.cms.waikato.ac.nz/cgi-bin/wotlp/nph-proxy-acmdl.cgi/en/20/http/dl.acm.org/"); 
    5     window.location = "https://bedrock.resnet.cms.waikato.ac.nz/cgi-bin/wotlp/nph-proxy-acmdl.cgi/en/20/http/dl.acm.org/"; 
     4    //$('#root').load("https://bedrock.resnet.cms.waikato.ac.nz/cgi-bin/meddle/nph-proxy-meddle.cgi/en/20/http/dl.acm.org/"); 
     5    window.location = "https://bedrock.resnet.cms.waikato.ac.nz/cgi-bin/meddle/nph-proxy-meddle.cgi/en/20/http/dl.acm.org/"; 
    66 
    77/* 
    88    $.ajax({ 
    9     url: "https://bedrock.resnet.cms.waikato.ac.nz/cgi-bin/wotlp/nph-proxy.cgi/en/20/http/dl.acm.org/", 
     9    url: "https://bedrock.resnet.cms.waikato.ac.nz/cgi-bin/meddle/nph-proxy-meddle.cgi/en/20/http/dl.acm.org/", 
    1010    context: document.body 
    1111    }).done(function(data) {