Skip to content

Commit 9da0c46

Browse files
authored
docs: make upgrade instructions compliant with tutor (#65)
1 parent afc021d commit 9da0c46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ If you are running an existing platform, you are strongly encouraged to migrate
3434

3535
This command is non-destructive for your data, and can be run multiple times with the same outcome. Once the data migration is successful, you should enable the ``forum_v2.enable_mysql_backend`` global course waffle flag::
3636

37-
./manage.py lms waffle_flag --create --everyone forum_v2.enable_mysql_backend
37+
tutor local run lms ./manage.py lms waffle_flag --create --everyone forum_v2.enable_mysql_backend
3838

3939
The forum will then make use of data stored in MySQL instead of MongoDB. Once you are sufficiently confident that the MongoDB data is no longer necessary, you may delete it with::
4040

41-
./manage.py lms forum_delete_course_from_mongodb all
41+
tutor local run lms ./manage.py lms forum_delete_course_from_mongodb all
4242

4343
For a more progressive transition, you may decide to migrate data for a single course::
4444

4545
# removing the no-toggle option will automatically create the course waffle flag just for this course
4646
tutor local run lms ./manage.py lms forum_migrate_course_from_mongodb_to_mysql <course ID>
4747
# deleting data is optional and should be done only if you are confident that the migration was successful
48-
./manage.py lms forum_delete_course_from_mongodb <course ID>
48+
tutor local run lms ./manage.py lms forum_delete_course_from_mongodb <course ID>
4949

5050
For more information, check out the `documentation <https://github.com/openedx/forum>`__ of the forum application.
5151

0 commit comments

Comments
 (0)