-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
1,503 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
To use this example notebook, create a spack environment and | ||
install Bedrock with Python support as follows. | ||
|
||
``` | ||
spack env create my-bedrock-env | ||
spack env activate my-bedrock-env | ||
spack add mochi-bedrock+python | ||
spack install | ||
``` | ||
|
||
Then, with the `my-bedrock-env` spack environment activated, | ||
create a Python virtual environment as follows. | ||
|
||
``` | ||
python -m venv my-bedrock-env | ||
source my-bedrock-env/bin/activate | ||
python -m pip install -r requirements.txt | ||
``` | ||
|
||
Finally, start Jupyterlab as follows. | ||
|
||
``` | ||
jupyter notebook --ip 0.0.0.0 --port 8888 --no-browser | ||
``` | ||
|
||
You will be able to connect to the notebook at the URL | ||
displayed by jupyter on your terminal. |
Oops, something went wrong.