From b6fef4fc553d579331edcf481ec205b2b6ea54ff Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 10 Apr 2024 16:54:13 +0200 Subject: [PATCH] Update live_code.ipynb --- book/features/live_code.ipynb | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/book/features/live_code.ipynb b/book/features/live_code.ipynb index 7b8f766..17bd50b 100644 --- a/book/features/live_code.ipynb +++ b/book/features/live_code.ipynb @@ -74,11 +74,7 @@ "\n", "## Instructions: local build\n", "\n", - "To test the fuctionality, you have to run a local server, otherwise the interactivity doens't work. So, you cannot just open the `index.html` file any more. This can be done with the following steps:\n", - "1. build the book by running ` jupyter book build `. If you are using Windows you should use the Git Bash terminal. Set this as your default in VS Code, then open it using \"New Terminal.\" If you have not already done so, you will need to allow Git Bash to use your Python libraries by running the command `conda init bash`.\n", - "2. Set up a server by running `python -m http.server 8000`.\n", - "3. Open the book by going to [http://localhost:8000/](http://localhost:8000/) in your browser. You may need to reload the page once the rebuild is complete. You can do this on Chrome by right-clicking somewhere on the page, select \"Inspect\", open the \"Network\" tab, then reload with `CTRL+R`. Or try `ctrl`+`F5`\n", - "4. Go to any page that is created from a Jupyter notebook\n", + "To test the fuctionality, you have to run a local server, otherwise the interactivity doens't work. So, you cannot just open the `index.html` file any more. This can be done with the steps shown in {setup-local-server}`view the book using a lcoal webserver`.\n", "\n", "If you push to main, you can test the interactivity on the book-draft website as well.\n", "\n", @@ -115,11 +111,6 @@ "%pip install package_name\n", "```\n" ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [] } ], "metadata": {