You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docker/README.rst
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,7 @@ Docker Deployment
3
3
4
4
.. TODO
5
5
6
-
See https://github.com/RunestoneInteractive/RunestoneServer/issues/1973 for ideas on how to improve this still-complex problem.
7
-
6
+
See https://github.com/RunestoneInteractive/RunestoneServer/issues/1973 for ideas on how to improve this still-complex problem. See https://github.com/RunestoneInteractive/RunestoneServer/pull/1977 for OS X problems and fixes.
8
7
9
8
.. note::
10
9
@@ -41,6 +40,7 @@ OS X
41
40
^^^^
42
41
Open a Terminal. In the Terminal:
43
42
43
+
#. Edit ``/etc/paths``; add ``/opt/homebrew/bin`` as the first line in that file.
#. Run the newly-installed Docker Desktop application.
@@ -54,7 +54,7 @@ Windows
54
54
If running on Windows, either:
55
55
56
56
`Install Ubuntu on WSL2 <https://ubuntu.com/tutorials/install-ubuntu-on-wsl2-on-windows-10#1-overview>`_. Next, install then run
57
-
`Docker Desktop`_; see the note above on the initialization process.
57
+
`Docker Desktop<https://docs.docker.com/desktop/install/windows-install/>`_; see the note above on the initialization process.
58
58
59
59
**OR**
60
60
@@ -140,7 +140,6 @@ This process may take a few minutes to complete. When it does:
140
140
#. **Reboot your computer** to update your group membership.
141
141
#. Run the Docker Desktop if using WSL2 on Windows or using OS X.
142
142
#. Open a terminal.
143
-
#. **OS X only**: Activate your virtual environment -- at the terminal, execute ``source rsdocker/rsvenv/bin/activate``.
144
143
145
144
146
145
4. Build the necessary containers
@@ -273,7 +272,7 @@ After cloning a book, you may need to add it to the database. Most of the stand
273
272
274
273
PreTeXt authors, see `Publishing to Runestone Academy <https://pretextbook.org/doc/guide/html/sec-publishing-to-runestone-academy.html>`_. After that, you can build a pretext book just like building a Runestone book ``rsmanage build --ptx coursename``
275
274
276
-
The following information applies only *authoring* books using the Runestone.
275
+
The following information applies only *authoring* books using the Runestone.
277
276
278
277
.. warning::
279
278
@@ -357,7 +356,6 @@ Before using ``docker-tools`` or ``rsmanage``:
357
356
358
357
#. Run the Docker Desktop if using WSL2 on Windows or using OS X.
359
358
#. Open a terminal.
360
-
#. **OS X only**: Activate your virtual environment -- at the terminal, execute ``source rsdocker/rsvenv/bin/activate``.
361
359
#. At the terminal, execute ``cd rsdocker/RunestoneServer``.
Copy file name to clipboardExpand all lines: docker/docker_tools.py
+2-14Lines changed: 2 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -162,19 +162,6 @@ def pip_user() -> str:
162
162
163
163
# Third-party bootstrap
164
164
# ---------------------
165
-
# On OS X, create then activate a venv. Otherwise, the ``docker-tools`` and ``rsmanage`` scripts don't get put in the default path (while on Linux they do) when not in a venv. Rather than require users to manually edit their path, use a venv and require them to activate the venv before running these scripts.
166
-
ifis_darwinandnotIN_VENV:
167
-
# If the repo's already cloned, but the venv isn't activated, create it if it doesn't exist.
# Note: Outside a venv, OS X installs these into a place that's not in the default $PATH, making the scripts ``docker-tools`` and ``rsmanage`` not work unless the user manually adds the path. Add the ``--verbose`` flag to the install commands below to see where the scripts are place on OS X.
349
+
# Note: Sometimes, OS X installs these into a place that's not in the default $PATH, making the scripts ``docker-tools`` and ``rsmanage`` not work unless the user manually adds the path. Add the ``--verbose`` flag to the install commands below to see where the scripts are placed on OS X.
0 commit comments