...
...
...
...
How do I run the discussion forums in devstack?
- run LMS and CMS
- vagrant ssh
- sudo su forum
- git pull to get most recent version of cs_comments_service master branch
- If necessary, run a migration (see migration steps below).
run the following commands
Code Block bundle install # this should only be needed once API_KEY=password bundle exec rackup -o 0.0.0.0 -p 18080 # this command needs to be run every time you need discussions
- See https://github.com/edx/configuration/wiki/edX-Developer-Stack#forums--ruby-issues if having problem problems with missing Ruby gems (via bundle install).
Use "ruby app.rb -p 18080" if rackup is not working, but this will not cache mongo results and should not be used for performance work.
How do I run a database migration on the cs_comments_service in devstack?
This is an example for a specific migration script:
Code Block |
---|
mongo cs_comments_service_development scripts/db/migrate-007-thread-type.js |
How do I run and debug unit tests for the comments service (ruby code)?
Debugging Ruby Comments Service
How do I enable cohorts?
See Internal Cohort Documentation
and/or https://docs.google.com/document/d/1o7S79mLilcRfJ2E6cILcfVOTBb8-m_CNXi7K_yiWE88/edit
...