Skip to content

Commit

Permalink
upgrade to CLIFF-v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulbot committed Jul 29, 2015
1 parent 27ad11c commit 816e455
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Using-CLIFF.ipynb
Expand Up @@ -166,7 +166,7 @@
" u'stateCode': u'02',\n",
" u'stateGeoNameId': u'2721357'}]}},\n",
" u'status': u'ok',\n",
" u'version': u'2.2.0'}"
" u'version': u'2.3.0'}"
]
},
"execution_count": 62,
Expand Down
12 changes: 6 additions & 6 deletions bootstrap.sh
@@ -1,5 +1,5 @@
#!/bin/sh
CLIFF_VERSION=2.2.0
CLIFF_VERSION=2.3.0

sudo apt-get update
echo "Installing basic packages..."
Expand All @@ -17,7 +17,7 @@ echo "Configuring Java and things"
set JRE_HOME=/usr/lib/jvm/java-7-openjdk-amd64

cd /home/vagrant
sudo wget https://raw.githubusercontent.com/ahalterman/CLIFF-up/master/bashrc
sudo wget https://raw.githubusercontent.com/c4fcm/CLIFF-up/master/bashrc
sudo rm .bashrc
sudo mv bashrc .bashrc
source .bashrc
Expand Down Expand Up @@ -48,15 +48,15 @@ sudo tar -xvzf apache-tomcat-7.0.59.tar.gz
# get tomcat users set up correctly
cd /home/vagrant/apache-tomcat-7.0.59/conf
sudo rm tomcat-users.xml
sudo wget https://raw.githubusercontent.com/ahalterman/CLIFF-up/master/tomcat-users.xml
sudo wget https://raw.githubusercontent.com/c4fcm/CLIFF-up/master/tomcat-users.xml

echo "Boot Tomcat"
$CATALINA_HOME/bin/startup.sh

echo "Download CLIFF"
cd /home/vagrant
sudo wget https://github.com/c4fcm/CLIFF/releases/download/v$CLIFF_VERSION/CLIFF-$CLIFF_VERSION.war
sudo mv /home/vagrant/CLIFF-$CLIFF_VERSION.war /home/vagrant/apache-tomcat-7.0.59/webapps/
sudo wget https://github.com/c4fcm/CLIFF/releases/download/v$CLIFF_VERSION/cliff-$CLIFF_VERSION.war
sudo mv /home/vagrant/cliff-$CLIFF_VERSION.war /home/vagrant/apache-tomcat-7.0.59/webapps/

echo "Downloading CLAVIN..."
cd /home/vagrant
Expand All @@ -81,7 +81,7 @@ cd /home/vagrant/
sudo mkdir .m2
cd .m2
sudo rm settings.xml
sudo wget https://raw.githubusercontent.com/ahalterman/CLIFF-up/master/settings.xml
sudo wget https://raw.githubusercontent.com/c4fcm/CLIFF-up/master/settings.xml

echo "Move files around and redeploy"
sudo /home/vagrant/apache-tomcat-7.0.59/bin/shutdown.sh
Expand Down

0 comments on commit 816e455

Please sign in to comment.