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.
A Python virtual environment ensures that all the Python dependencies installed by this process don't interfere with your global / system Python installation.
117
117
118
-
#. `Create a Python virtual environment <https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment>`_ named ``runestone``:
118
+
#. `Create a Python virtual environment <https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment>`_ named ``rsvenv`` (RuneStone Virtual ENVironment):
119
119
120
120
.. code-block:: bash
121
121
122
-
python3 -m venv runestone
122
+
python3 -m venv rsvenv
123
123
124
124
#. `Activate the virtual environment <https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#activating-a-virtual-environment>`_ you just created.
125
125
126
126
On Windows:
127
127
128
128
.. code-block:: bash
129
129
130
-
runestone\Scripts\activate
130
+
rsvenv\Scripts\activate
131
131
132
132
On Linux and OS X:
133
133
134
134
.. code-block:: bash
135
135
136
-
.runestone/bin/activate
136
+
.rsvenv/bin/activate
137
137
138
138
4. Run the bootstrap script
139
139
***************************
@@ -205,7 +205,7 @@ The build will take a **long** time (5-10 minutes in many cases). When this comp
205
205
206
206
#. **Reboot your computer** to update your group membership.
207
207
#. Run the Docker Desktop if using WSL on Windows or using OS X.
208
-
#. Open a terminal then ``cd runestone``.
208
+
#. Open a terminal then ``cd rsvenv``.
209
209
#. Activate your virtual environment -- see the second step of `create a virtual environment <Create then activate a Python virtual environment>`_.
210
210
#. ``cd RunestoneServer``.
211
211
@@ -374,7 +374,7 @@ Once you have logged in as an instructor, you can bulk add students through the
374
374
It is also possible to use a csv file to add multiple instructors or students as you start
375
375
up the server. However, this process is brittle (any error loading the information results
376
376
in the server entering a restart loop as it fails to load). To do so, make a file named either
377
-
`instructors.csv` or `students.csv` in a folder called `configs` in the RunestoneServer folder.
377
+
`instructors.csv` or `students.csv` in a folder called `configs` in the ``RunestoneServer/`` folder.
378
378
The format of the csv files is to have one person per line with the format of each line as follows:
379
379
380
380
username,email,first_name,last_name,pw,course
@@ -389,7 +389,7 @@ The containerized application is configured to automatically start as soon as Do
389
389
390
390
Before using ``docker-tools`` or ``rsmanage``:
391
391
392
-
#. Open a terminal then ``cd runestone``.
392
+
#. Open a terminal then ``cd rsvenv``.
393
393
#. Activate your virtual environment -- see the second step of `create a virtual environment <Create then activate a Python virtual environment>`_.
394
394
#. ``cd RunestoneServer``.
395
395
@@ -423,14 +423,13 @@ Shelling Inside
423
423
**********************************
424
424
425
425
You can shell into the container to look around, or otherwise test. When you enter,
426
-
you'll be in the web2py folder, where runestone is an application under applications. From
427
-
the RunestoneServer directory do:
426
+
you'll be in the web2py folder, where ``runestone/`` is an application under ``applications/``. From the ``RunestoneServer/`` directory do:
428
427
429
428
.. code-block:: bash
430
429
431
430
docker-tools shell
432
431
433
-
Remember that the folder under web2pyapplications/runestone is bound to your host,
432
+
Remember that the folder under ``web2py/applications/runestone`` is bound to your host,
434
433
so **do not edit files from inside the container** otherwise they will have a change
0 commit comments