Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add instructions for running notebooks locally #96

Open
mscarey opened this issue Apr 28, 2021 · 0 comments
Open

add instructions for running notebooks locally #96

mscarey opened this issue Apr 28, 2021 · 0 comments

Comments

@mscarey
Copy link
Owner

mscarey commented Apr 28, 2021

This process seems to have changed since I replaced setup.py with setup.cfg.

I had to do this:

  1. Use venv to create a virtual environment with a unique name (no other virtual environment on the computer has the same name).
python -m venv ausvenv
  1. Install both the regular requirements and the dev requirements.
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
  1. Register the virtual environment with ipykernel.
python -m ipykernel install --user --name=ausvenv
  1. Start a conda environment.
conda activate
  1. Activate conda development mode in the authorityspoke directory.
conda develop .
  1. Start Jupyter Notebook
jupyter notebook
  1. In the web browser, navigate to the notebooks folder and open one of the .ipynb files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant