Skip to content

Commit

Permalink
Merge pull request #51 from hydroshare/develop
Browse files Browse the repository at this point in the history
Version 1.1.2
  • Loading branch information
Castronova authored Apr 24, 2017
2 parents bd16c89 + cdb472a commit 7df7d1c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ RUN chown -R jovyan:users /home/jovyan/.jupyter
ENV NOTEBOOK_HOME=/home/jovyan/work/notebooks

RUN pip install wget
RUN pip install ulmo

###################################################
## End - JupyterHub Development Image Additions ###
Expand Down
11 changes: 8 additions & 3 deletions install/install-services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ PWD=$( dirname $( readlink -f ${BASH_SOURCE[0]} ) )
# Install Environment File (Base Dir) #
#######################################

echo "--> installing jupyterhub common files"
JH=/etc/jupyterhub
mkdir -p $JH
#echo "--> installing jupyterhub common files"
#JH=/etc/jupyterhub
#mkdir -p $JH

# jupyterhub server dir
echo "----> moving jupyterhub env and static files"
Expand All @@ -41,6 +41,11 @@ echo "----> preparing jupyterhub culling"
JHC=/etc/jupyterhub/cull
mkdir -p $JHC

# log dir
echo "----> preparing jupyterhub logging"
JHL=/etc/jupyterhub/log
mkdir -p $JHL

#######################################
# Install Jupyterhub Server #
#######################################
Expand Down
19 changes: 14 additions & 5 deletions jpctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,23 @@ install_base_rhel() {
# install jupyterhub dependencies
echo -e "--> installing system requirements"
sudo yum clean all
sudo yum update
sudo yum install -y openssh-server wget screen docker python3-dateutil, tree
sudo yum install -y openssh-server wget screen docker tree gcc-c++ make

if ( ! which python3 ); then
sudo rpm -Uvh https://centos7.iuscommunity.org/ius-release.rpm || true
sudo yum install -y python35u python35u-libs python35u-devel python35u-pip
sudo ln -sf /usr/bin/python3.5 /usr/bin/python3
sudo ln -sf /usr/bin/pip3.5 /usr/bin/pip3
fi
sudo pip3 install python-dateutil

# install epel
sudo yum install -y epel-release

# install node and configurable proxy
echo -e "--> installing nodejs and configurable-http-proxy"
sudo yum -y install nodejs
sudo yum install -y nodejs
sudo npm install -g configurable-http-proxy
sudo yum install -y gcc-c++ make
}

install() {
Expand All @@ -129,8 +138,8 @@ install() {
fi

# activate and enable docker
sudo systemctl start docker
sudo systemctl enable docker
sudo systemctl start docker

# install pip, ipgetter, and jupyterhub
echo -e "--> installing pip3, ipgetter, jupyterHub"
Expand Down

0 comments on commit 7df7d1c

Please sign in to comment.