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 Aug 1, 2024. It is now read-only.
docs: Fix links broken due to refactor in previous commit
This changes a number of links to `:doc:` or `:ref:` links, and removes the
readme.rst inclusion (now that the README is very small). It also adds the
new pages to the table of contents, and moves Workflow to a higher
position.
Copy file name to clipboardExpand all lines: README.rst
+2-8Lines changed: 2 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Where to Find Help
16
16
17
17
There are a number of places to get help, including mailing lists and real-time chat. Please choose an appropriate venue for your question. This helps ensure that you get good prompt advice, and keeps discussion focused. For details of your options, see the `Community`_ pages.
18
18
19
-
- See the `most common development workflow`_ (after you've finished `Getting Started`_).
19
+
- See the `most common development workflow`_ (after you've finished :doc:`getting_started`).
20
20
- See the `Devstack Interface`_
21
21
- See some `helpful troubleshooting tips`_.
22
22
- See the `Frequently Asked Questions`_.
@@ -38,13 +38,8 @@ You can also browse all the documentation in `Read the Docs`_.
38
38
Notices
39
39
-------
40
40
41
-
**NOTE:** LMS is now using MySql 5.7 by default. You have to run ``make dev.pull.lms`` and ``make dev.provision.lms`` (more details in `Getting Started`_) to fetch latest images and reprovision local copies of databases in order for an existing devstack setup to keep working.
41
+
**NOTE:** LMS is now using MySql 5.7 by default. You have to run ``make dev.pull.lms`` and ``make dev.provision.lms`` (more details in :doc:`getting_started`) to fetch latest images and reprovision local copies of databases in order for an existing devstack setup to keep working.
Copy file name to clipboardExpand all lines: docs/developing_on_named_release_branches.rst
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,32 +3,29 @@ Developing on Open edX named release branches
3
3
4
4
.. contents:: Table of Contents
5
5
6
-
By default, the startup steps in `README.rst`_ will install the devstack using the master branch of all repos. If you want to install a named release instead, follow these steps before pulling the docker images in step 3 of the `Getting Started`_ guide:
6
+
By default, the startup steps in :doc:`getting_started` will install the devstack using the master branch of all repos. If you want to install a named release instead, follow these steps before the step that pulls the docker images:
7
7
8
8
#. Set the ``OPENEDX_RELEASE`` environment variable to the appropriate image
9
9
tag; "hawthorn.master", "zebrawood.rc1", etc. Note that unlike a server
10
10
install, ``OPENEDX_RELEASE`` should not have the "open-release/" prefix.
11
11
#. Check out the appropriate branch in devstack, e.g. ``git checkout open-release/ironwood.master``
12
12
#. Use ``make dev.checkout`` to check out the correct branch in the local
13
13
checkout of each service repository
14
-
#. Continue with step 3 in the `getting started`_ guide to pull the correct docker images.
14
+
#. Continue with step 3 in :doc:`getting_started` to pull the correct docker images.
15
15
16
16
All ``make`` target and ``docker-compose`` calls should now use the correct
17
17
images until you change or unset ``OPENEDX_RELEASE`` again. To work on the
18
18
master branches and ``latest`` images, unset ``OPENEDX_RELEASE`` or set it to
You can have multiple isolated Devstacks provisioned on a single computer now. Follow these directions **after installing at least two devstacks** to switch between them.
27
24
28
-
#. If you haven't done so, follow the steps in the `Getting Started`_ section, to install the master devstack or any other named release. We recommend that you have at least one devstack on the master branch.
25
+
#. If you haven't done so, follow the steps in :doc:`getting_started`, to install the master devstack or any other named release. We recommend that you have at least one devstack on the master branch.
29
26
#. Change directory to your devstack and activate the virtual env.
30
27
#. Stop any running containers by issuing a ``make dev.stop``.
31
-
#. Follow the steps in `Getting Started`_ section again, setting the additional OPENEDX_RELEASE you want to install in step 2
28
+
#. Follow the steps in :doc:`getting_started` again, setting the additional OPENEDX_RELEASE you want to install in step 2
32
29
33
30
The implication of this is that you can switch between isolated Devstack databases by changing the value of the ``OPENEDX_RELEASE`` environment variable.
.. _configuring Docker for Mac: https://docs.docker.com/docker-for-mac/#/advanced
44
+
.. _Docker for Windows: https://docs.docker.com/docker-for-windows/
45
+
41
46
Please note
42
47
~~~~~~~~~~~
43
48
@@ -46,15 +51,15 @@ from within a Virtual Machine, as these commands are meant to stand up a VM-like
46
51
Docker containers.
47
52
48
53
However, you may want to run the ``make`` commands from within a Python 3 virtual
49
-
environment, as described in `Getting Started`_. This will keep the Python packages required for Devstack separate from
54
+
environment. This will keep the Python packages required for Devstack separate from
50
55
the ones installed globally on your system.
51
56
52
57
Directions to setup devstack
53
58
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54
59
55
60
The default devstack services can be run by following the steps below.
56
61
57
-
**Note:** This will set up a large number of services, more than you are likely to need to work with, but that's only necessary for first-time provisioning. See `Service List`_ and the `most common development workflow`_ for how to run and update devstack with just the services you need, rather than the ``large-and-slow`` default set.
62
+
**Note:** This will set up a large number of services, more than you are likely to need to work with, but that's only necessary for first-time provisioning. See :doc:`service_list` and the :doc:`most common development workflow<workflow>` for how to run and update devstack with just the services you need, rather than the ``large-and-slow`` default set.
58
63
59
64
#. Install the requirements inside of a `Python virtualenv`_.
60
65
@@ -164,4 +169,6 @@ This data collection is behind a consent flag, so please help devstack's maintai
164
169
165
170
make metrics-opt-in
166
171
167
-
Now that you're up and running, read about the `most common development workflow`_.
172
+
Now that you're up and running, read about the :doc:`most common development workflow <workflow>`.
Copy file name to clipboardExpand all lines: docs/service_list.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ as well as links to the repository where each service's code lives.
8
8
9
9
Most developers will be best served by working with specific combinations of these services, for example ``make dev.pull.studio`` or ``make dev.up.ecommerce``. These will pull in dependencies as needed—starting ecommerce will also start lms, and lms will pull in forums, discovery, and others. If you need multiple, they can be listed like ``make dev.up.studio+ecommerce``. After the service table below there is a list of some common combinations.
10
10
11
-
Instead of a service name or list, you can also run commands like ``make dev.provision`` / ``make dev.pull.large-and-slow`` / ``make dev.up.large-and-slow``. This is a larger list than most people will need for most of their work, and includes all of the services marked "Default" in the below table. (Some of these targets use ``large-and-slow`` in their name as a warning; others may be changed to use this over time.) However, you can change this list by modifying the ``DEFAULT_SERVICES`` option as described in the `Advanced Configuration Options`_ section.
11
+
Instead of a service name or list, you can also run commands like ``make dev.provision`` / ``make dev.pull.large-and-slow`` / ``make dev.up.large-and-slow``. This is a larger list than most people will need for most of their work, and includes all of the services marked "Default" in the below table. (Some of these targets use ``large-and-slow`` in their name as a warning; others may be changed to use this over time.) However, you can change this list by modifying the ``DEFAULT_SERVICES`` option as described in :doc:`advanced_configuration`.
Copy file name to clipboardExpand all lines: docs/workflow.rst
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ You can routinely create backups of your local databases. To create a backup, us
58
58
Running micro-frontends outside of devstack
59
59
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60
60
61
-
Although several micro-frontends (MFEs) are built into devstack (the full list is in the `service table`_), some users prefer to run those MFEs directly on their host machine. You can achieve this by first removing the devstack MFE container, and then starting the host version. For example::
61
+
Although several micro-frontends (MFEs) are built into devstack (the full list is in :doc:`service_list`), some users prefer to run those MFEs directly on their host machine. You can achieve this by first removing the devstack MFE container, and then starting the host version. For example::
62
62
63
63
make dev.down.frontend-app-learning # Bring down the devstack version of the Learning MFE.
64
64
cd <path-to-frontend-app-learning> # Navigate to the Learning MFE's repository.
@@ -67,5 +67,3 @@ Although several micro-frontends (MFEs) are built into devstack (the full list i
67
67
Of course ``learning`` can be replaced with ``gradebook``, ``payment``, or another frontend-app name.
68
68
69
69
If you forget to bring down the devstack version of the MFE, you will notice a port conflict when trying to start the host version.
0 commit comments