diff --git a/playground/startup.sh b/playground/startup.sh index 201277d6d8688c6bb16bde844b4ab428d2e429f0..02c0243c5aeda74870f227774c869b8a6ace7d46 100644 --- a/playground/startup.sh +++ b/playground/startup.sh @@ -6,11 +6,9 @@ CURRDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" yum update -y # install dependencies -wget "$PBZIP_BASE_URL/$PBZIP_PACKAGE" yum install $BASIC_DEPENDENCIES -y -rm $PBZIP_PACKAGE -# get Neo4J +# get Neo4J wget $NEO4J_DOWNLOAD_URL tar -xvf artifact.php?name=neo4j-community-3.5.13-unix.tar.gz rm artifact.php?name=$NEO4J_SETUP_FILE -f @@ -30,4 +28,5 @@ done # provide ownership to ec2-user user chown -R ec2-user:ec2-user $NEO4J_HOME -echo "Use \"$NEO4J_HOME/bin/neo4j start\" to start Neo4J instance" \ No newline at end of file +# echo "Use \"$NEO4J_HOME/bin/neo4j start\" to start Neo4J instance" +sudo -u ec2-user $NEO4J_HOME/bin/neo4j start diff --git a/userdata_script b/userdata_script deleted file mode 100644 index a800d61fb496cbcbb4995a98e9156d52a7f42b73..0000000000000000000000000000000000000000 --- a/userdata_script +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -yum update -y -yum install git -y - -git clone https://gitlab.ebi.ac.uk/sreenath/pdbe-neo4j-aws.git -cd pdbe-neo4j-aws -chmod -R 755 . -./setup.sh playground