Commit ce95689c by Clinton Blackburn

Added info on restarting services to README

Fixes #36
parent 1ecc7ddd
...@@ -102,6 +102,33 @@ service. Since some services are not meant to be user-facing, the "homepage" may ...@@ -102,6 +102,33 @@ service. Since some services are not meant to be user-facing, the "homepage" may
| Programs | [http://localhost:18140/api/v1/](http://localhost:18140/api/v1/) | | Programs | [http://localhost:18140/api/v1/](http://localhost:18140/api/v1/) |
| Studio/CMS | [http://localhost:18010/](http://localhost:18010/) | | Studio/CMS | [http://localhost:18010/](http://localhost:18010/) |
## Useful Commands
Sometimes you may need to restart a particular application server. Rather than restarting the entire devstack or the
individual container, you can instruct [Supervisor](http://supervisord.org/) to restart just the nginx and application
servers with one command.
If you are already working in the shell of a container run:
```
$ /edx/app/supervisor/venvs/supervisor/bin/supervisorctl restart all
```
Alternatively, if you are not working from a shell inside a container run:
```
$ docker exec -t edx.devstack.<service> bash -c '/edx/app/supervisor/venvs/supervisor/bin/supervisorctl restart all'
```
`<service>` should be replaced with one of the following:
* credentials
* discovery
* ecommerce
* edxapp
* programs
## Remaining Work ## Remaining Work
There is still work to be done before this is ready for full release to the Open edX community. Here are the major items: There is still work to be done before this is ready for full release to the Open edX community. Here are the major items:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment