Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit ce95689

Browse files
committed
Added info on restarting services to README
Fixes #36
1 parent 1ecc7dd commit ce95689

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff 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
107134
There is still work to be done before this is ready for full release to the Open edX community. Here are the major items:

0 commit comments

Comments
 (0)