Skip to content

Commit

Permalink
add nbstripout to install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-dewar committed Oct 27, 2023
1 parent 84cf366 commit 457b6fc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
14 changes: 13 additions & 1 deletion docs/linux-install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ should get you up and running:
python -m pip install -e .
python -m pip install -r jupyter/requirements.txt
cd jupyter
python -m pip install nbstripout
nbstripout --install
After running these install instructions, make sure to restart your computer. This is required for the
new udev rules to be applied.
Expand Down Expand Up @@ -184,6 +187,14 @@ With that done, all that's left is to install ChipWhisperer:
python -m pip install -e .
python -m pip install -r jupyter/requirements.txt
You may also want to grab `nbstripout`_, which will make git and jupyter interact a little nicer:

.. code:: bash
cd jupyter
pip install nbstripout
nbstripout --install # must be run from the jupyter folder
You can check that the install succeeded by navigating to :code:`chipwhisperer`
and running:

Expand All @@ -193,4 +204,5 @@ and running:
Which should open a window like the following in your browser:

.. image:: _images/Jupyter\ ChipWhisperer.png
.. image:: _images/Jupyter\ ChipWhisperer.png
.. _nbstripout: https://github.com/kynan/nbstripout
11 changes: 10 additions & 1 deletion docs/windows-install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,14 @@ You can clone and install ChipWhisperer by running the following commands in Git
python -m pip install -e .
python -m pip install -r jupyter/requirements.txt
You may also want to grab `nbstripout`_, which will make git and jupyter interact a little nicer:

.. code:: bash
cd jupyter
pip install nbstripout
nbstripout --install # must be run from the jupyter folder
If everything there completes successfully, then congratulations, you've successfully installed ChipWhisperer!
All that's left is to launch Jupyter and run the verification notebooks. Run the following in Git Bash:

Expand All @@ -162,4 +170,5 @@ to verify that everything installed correctly. If you run into any issues, pleas
.. _arm-none-eabi-gcc: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads
.. _avr-gcc: https://blog.zakkemble.net/avr-gcc-builds/
.. _git-bash: https://git-scm.com/downloads
.. _WinPython: https://sourceforge.net/projects/winpython/files/
.. _WinPython: https://sourceforge.net/projects/winpython/files/
.. _nbstripout: https://github.com/kynan/nbstripout

0 comments on commit 457b6fc

Please sign in to comment.