Cleanup sudo / root usage in dev setup instructions

This commit is contained in:
yuvipanda
2018-06-29 00:28:03 -07:00
parent 82e7fa6cdc
commit a7e58626dd

View File

@@ -20,7 +20,7 @@ The easiest & safest way to develop & test TLJH is with `Docker <https://www.doc
.. code-block:: bash .. code-block:: bash
docker run \ sudo docker run \
--privileged \ --privileged \
--detach \ --detach \
--name=tljh-dev \ --name=tljh-dev \
@@ -32,14 +32,14 @@ The easiest & safest way to develop & test TLJH is with `Docker <https://www.doc
.. code-block:: bash .. code-block:: bash
docker exec -it tljh-dev /bin/bash sudo docker exec -it tljh-dev /bin/bash
#. Run the installer! The container image is already set up to default to a #. Run the installer! The container image is already set up to default to a
``dev`` install, so it'll install from your local repo rather than from github. ``dev`` install, so it'll install from your local repo rather than from github.
.. code-block:: bash .. code-block:: console
bash /srv/src/installer/install.bash # bash /srv/src/installer/install.bash
The primary hub environment will also be in your PATH already for convenience. The primary hub environment will also be in your PATH already for convenience.