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

Commit

Permalink
Added info on restarting services to README
Browse files Browse the repository at this point in the history
Fixes #36
  • Loading branch information
clintonb committed Jan 25, 2017
1 parent 1ecc7dd commit ce95689
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/) |
| 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
There is still work to be done before this is ready for full release to the Open edX community. Here are the major items:
Expand Down

0 comments on commit ce95689

Please sign in to comment.