run the following commands
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 |
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.
This is an example for a specific migration script:
mongo cs_comments_service_development scripts/db/migrate-007-thread-type.js |
Debugging Ruby Comments Service
See Internal Cohort Documentation
and/or https://docs.google.com/document/d/1o7S79mLilcRfJ2E6cILcfVOTBb8-m_CNXi7K_yiWE88/edit
Then add your course author as a forum admin or moderator so that they can see all cohorts (via LMS instructor dashboard).
Note that posts created BEFORE cohorts are enabled will be visible to all cohorts. Therefore it is necessary to create users in the various cohorts and create new posts within cohorted topics to see that cohorting is working.