Skip to content

Instantly share code, notes, and snippets.

@ko-lem
Created January 10, 2018 04:47
Show Gist options
  • Save ko-lem/e499c26d8bf6f3dbc29731ef6fd4e139 to your computer and use it in GitHub Desktop.
Save ko-lem/e499c26d8bf6f3dbc29731ef6fd4e139 to your computer and use it in GitHub Desktop.
Setup VPS for kaggle work
git clone https://github.com/lemonkoala/utils.git
echo "source ~/utils/_all.bash" > ~/.bashrc
source ~/.bashrc
mkdir jupyter
docker pull kaggle/python
docker run \
-it \
-d \
-p 8888:8888 \
-v ~/jupyter:/tmp/working \
--name kaggle \
-w=/tmp/working \
kaggle/python \
jupyter notebook --NotebookApp.token='' --no-browser --ip "0.0.0.0" --allow-root --notebook-dir=/tmp/working
pip install kaggle-cli
apt-get install unzip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment