From 2b1e132dfe2d8e04657a6d038337bd9ddfa8eb67 Mon Sep 17 00:00:00 2001 From: Sid Verma Date: Thu, 19 Oct 2023 08:04:55 +0530 Subject: [PATCH] chore: rename studio-* commands to cms-* in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 11719f6f..8a575f44 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ studio instance running in [Devstack](https://github.com/openedx/devstack): does not exist already. 2. Add `STUDIO_FRONTEND_CONTAINER_URL = 'http://localhost:18011'` to `cms/envs/private.py`. -3. Reload your Studio server: `make studio-restart`. +3. Restart your Studio container: `make cms-restart-container`. Pages in Studio that have studio-frontend components should now request assets from your studio-frontend docker container's webpack-dev-server. If you make a @@ -88,13 +88,13 @@ your local docker devstack by following these steps: 1. If you have a `cms/envs/private.py` file in your devstack edx-platform folder, then make sure the line `STUDIO_FRONTEND_CONTAINER_URL = 'http://localhost:18011'` is commented out. -2. Reload your Studio server: `make studio-restart`. +2. Reload your Studio server: `make cms-restart-container`. 3. Run the production build of studio-frontend by running `make shell` and then `npm run build` inside the docker container. 4. Copy the production files over to your devstack Studio's static assets folder by running this make command on your host machine in the studio-frontend folder: `make copy-dist`. -5. Run Studio's static asset pipeline: `make studio-static`. +5. Run Studio's static asset pipeline: `make cms-static`. Your devstack Studio should now be using the production studio-frontend files built by your local checkout.