widget-ts-cookiecutter
widget-ts-cookiecutter copied to clipboard
Development installation with virtual environment
trafficstars
Hi everyone,
the readme only shows how to do the development installation in conda.
here is how i managed with virtualenvwrapper in linux, maybe it's worth adding to the readme!
- Installing npm with yarn:
sudo apt install npm
npm install yarn
- Creating a virtual environment
mkvirtualenv widget_dev
workon widget_dev
- Installing the widget and adding the virtual environment as an IPython Kernel:
pip install -e ".[test, examples]"
ipython kernel install --name widget_dev --user
In jupyter lab, one can then select the widget_dev kernel on the top right
In jupyter notebook, under the menu section Kernel
Hi @JoelForamitti good point thanks!
Would you like to make a PR with changes that you feel would have helped you?
@ianhi ok, i made a PR here: https://github.com/jupyter-widgets/widget-ts-cookiecutter/pull/95