Try Commuter
In [ ]:
!sudo -E npm install @nteract/commuter -g
In [ ]:
!sudo -E npm install --build-from-source canvas@2.6.0 -g --unsafe-perm=true --allow-root --verbose
Turn to yarn
¶
In [ ]:
%%bash
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install --no-install-recommends yarn
In [ ]:
!sudo -E yarn global add @nteract/commuter
Check Install Result¶
In [ ]:
!cat /usr/local/share/.config/yarn/global/node_modules/@nteract/commuter/package.json
Concerning commuter
¶
In [ ]:
!cat /usr/local/share/.config/yarn/global/node_modules/@nteract/commuter/package.json | grep -1 --color commuter
Concerning bin.js
¶
In [ ]:
!cat /usr/local/share/.config/yarn/global/node_modules/@nteract/commuter/bin.js
Concerning backend
¶
In [ ]:
!cat /usr/local/share/.config/yarn/global/node_modules/@nteract/commuter/package.json | grep -1 --color backend
In [ ]:
!sed -n '6,17p' /usr/local/share/.config/yarn/global/node_modules/@nteract/commuter/package.json
Concerning index.js
¶
In [ ]:
!cat /usr/local/share/.config/yarn/global/node_modules/@nteract/commuter/lib/index.js
Concerning port
¶
In [ ]:
!cat /usr/local/share/.config/yarn/global/node_modules/@nteract/commuter/pages/discover.js | grep -w1 --color port
Run Commuter¶
In [ ]:
!commuter