- Mount Drive in files sidebar.
- Make
work/env/config.py
on your Google Drive by analogy withconfig_example.py
.
- Create colab notebook.
- Run the following code in your notebook:
!curl -LOs https://github.com/itesoro/colab_env/raw/master/setup.py %run setup work/env/config.py
At the first run, script will generate ssh keys at SSH_KEY_PATH
specified in config.py
. Add public key to your github account.
To install python packages from private repository run the following line in your notebook:
!pip install git+ssh://git@github.com/itesoro/<repository-name>.git