Fix formatting issues in Contributing.md
- Use consistent monospace styling for code blocks
- Use consistent spacing for indentation of the code blocks (I stuck with three spaces as it was used consistently for the first four or so numbered items, but can change it if desired).
@@ -38,26 +38,36 @@ on GitHub if you don't have a token.
5. Install binderhub and its development requirements:
+ ```bash
python3 -m pip install -e . -r dev-requirements.txt
+ ```
This list of packages is necessary to create an environment that will generate the Docker image using the Git repository. Regardless of what is in the setup.py file, the requirements file will install what the user needs to build the Docker image.
6. Install JupyterHub in minikube with helm
+ ```bash
./testing/minikube/install-hub
+ ```
7. Before starting the local dev/test deployment run:
+ ```bash
eval $(minikube docker-env)
+ ```
This command sets up docker to use the same docker daemon as your minikube cluster does. This means images you build are directly available to the cluster.
Note: when you no longer wish to use the minikube host, you can undo this change by running:
+ ```bash
eval $(minikube docker-env -u)
+ ```
8. Start binderhub with the testing config file:
+ ```bash
python3 -m binderhub -f testing/minikube/binderhub_config.py
+ ```
9. Visit [http://localhost:8585](http://localhost:8585)
