This repository was archived by the owner on Aug 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,33 @@ service. Since some services are not meant to be user-facing, the "homepage" may
102102| Programs | [http://localhost:18140/api/v1/](http://localhost:18140/api/v1/) |
103103| Studio/CMS | [http://localhost:18010/](http://localhost:18010/) |
104104
105+
106+ ## Useful Commands
107+
108+ Sometimes you may need to restart a particular application server. Rather than restarting the entire devstack or the
109+ individual container, you can instruct [Supervisor](http://supervisord.org/) to restart just the nginx and application
110+ servers with one command.
111+
112+ If you are already working in the shell of a container run:
113+
114+ ```
115+ $ /edx/app/supervisor/venvs/supervisor/bin/supervisorctl restart all
116+ ```
117+
118+ Alternatively, if you are not working from a shell inside a container run:
119+
120+ ```
121+ $ docker exec -t edx.devstack.<service > bash -c '/edx/app/supervisor/venvs/supervisor/bin/supervisorctl restart all'
122+ ```
123+
124+ `<service>` should be replaced with one of the following:
125+
126+ * credentials
127+ * discovery
128+ * ecommerce
129+ * edxapp
130+ * programs
131+
105132## Remaining Work
106133
107134There is still work to be done before this is ready for full release to the Open edX community. Here are the major items:
You can’t perform that action at this time.
0 commit comments