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.
Copy file name to clipboardExpand all lines: docs/devstack_faq.rst
-5Lines changed: 0 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -286,10 +286,6 @@ After changing settings, you can restart the LMS/Studio process without restarti
286
286
make dev.restart-devserver.lms # For LMS
287
287
make dev.restart-devserver.studio # For Studio/CMS
288
288
289
-
How do I integrate with PyCharm?
290
-
--------------------------------
291
-
292
-
See the `Pycharm Integration documentation`_.
293
289
294
290
What is DevPI and how does it affect Devstack?
295
291
----------------------------------------------
@@ -304,5 +300,4 @@ See the `devpi documentation`_.
304
300
.. _Changing Themes for an Open edX Site: https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/changing_appearance/theming/index.html
Copy file name to clipboardExpand all lines: docs/workflow.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ These instructions are written using the LMS as an example. Replace ``lms`` with
14
14
#. Activate your devstack virtualenv. See the main Getting Started instructions if you don't already have one.
15
15
#. Launch your service in a clean state:
16
16
17
-
#. Run ``make lms-down lms-pulllms-up`` to halt any running services and remove their containers, pull the latest disk images, and launch your service.
18
-
#. Optionally, watch ``make lms-logs`` to follow the logs. This lets you see when the service finishes coming up, and prints the port it is listening on.
17
+
#. Run ``make dev.remove-containers dev.pull.lms dev.up.lms`` to halt any running services and remove their containers, pull the latest disk images, and launch your service.
18
+
#. Optionally, watch ``make dev.logs.lms`` to follow the logs. This lets you see when the service finishes coming up, and prints the port it is listening on.
19
19
20
20
- Your service is up when you see a block of messages that looks like the following::
21
21
@@ -25,15 +25,15 @@ These instructions are written using the LMS as an example. Replace ``lms`` with
25
25
edx.devstack.lms | Starting development server at http://0.0.0.0:18000/
26
26
edx.devstack.lms | Quit the server with CONTROL-C.
27
27
28
-
- If the logs show warning messages about missing tables or needed migrations, run ``make lms-migrate`` and then continue
28
+
- If the logs show warning messages about missing tables or needed migrations, run ``make dev.migrate.lms`` and then continue
29
29
30
-
- If there are complaints about import failures, Python package requirements may have changed since the last disk image. Run ``make lms-shell`` and then ``make requirements`` from inside the shell, then restart the service with ``make lms-restart-devserver``.
30
+
- If there are complaints about import failures, Python package requirements may have changed since the last disk image. Run ``make lms-shell`` and then ``make requirements`` from inside the shell, then restart the service with ``make dev.restart-devserver.lms``.
31
31
32
32
#. Your service should now be up and accessible, and you can develop in your IDA's repo. When you make changes on disk, a file watcher will restart the service in devstack. It may take a moment for the service to come back up with your changes.
33
33
34
-
- For some changes, this auto-restarting is insufficient, and you'll need to make a change from inside ``make lms-shell`` (such as ``make requirements`` or a migrations or other management command) and then run ``make lms-restart-devserver`` from the outside.
34
+
- For some changes, this auto-restarting is insufficient, and you'll need to make a change from inside ``make lms-shell`` (such as ``make requirements`` or a migrations or other management command) and then run ``make dev.restart-devserver.lms`` from the outside. Running ``make dev.restart-devserver.lms`` may also fix issues if the runserver command is not restarting automatically after code changes.
35
35
36
-
#. When you're done, you can either run ``make lms-stop`` to shut down the service but leave the container intact (with requirements installations and other file changes preserved) or ``make lms-down`` to destroy the containers as well.
36
+
#. When you're done, you can run ``make dev.stop.lms`` to shut down the service but leave the container intact (with requirements installations and other file changes preserved).
0 commit comments