pip install IPythonput early in your code (e.g. main.py)
# source: https://stackoverflow.com/a/52797444/227260| document.getElementsByClassName('CodeMirror')[0].style.height = '100%'; |
| $ npm i -g plop | |
| $ npm i --save-dev plop | |
| // install the plopfile below | |
| // install the template below | |
| $ plop store:module | |
| // repo root/plopfile.js: | |
| module.exports = |
| version: 2.1 | |
| jobs: | |
| build-deploy: &build-deploy | |
| docker: | |
| - image: circleci/node:10.15.1-browsers | |
| working_directory: ~/repo | |
| steps: | |
| - checkout |
| # https://stackoverflow.com/a/77768997/227260 | |
| CONDA_DIR="$HOME/anaconda3" | |
| CONDA_DIR_BAK="${CONDA_DIR}_bak" | |
| # Miniconda: https://docs.anaconda.com/free/miniconda/miniconda-other-installer-links/ | |
| # Anaconda: https://repo.anaconda.com/archive/ | |
| CONDA_INSTALL_SHELL="https://repo.anaconda.com/archive/Anaconda3-2024.02-1-Linux-x86_64.sh" | |
| # Check if backup directory exists and move if it does not |
| # From https://coderwall.com/p/-wbo5q/pip-install-a-specific-github-repo-tag-or-branch | |
| pip install -e git://github.com/{ username }/{ reponame }.git@{ tag name }#egg={ desired egg name } |