Momentum's custom community code.
Add this line to your application's Gemfile for the required Discourse API gem:
gem 'discourse_api'
And then execute:
$ bundle
Including membership management and many other functions to keep Momentum Owners informed.
-
_master/scan_hourly.rb controls auto run of all tasks.
-
_master/apply_to_users.rb cycles thru all members to run currently 6 different tasks.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Unit Tests are designed to run without a Discourse instance, but you may also test against an instance with:
- Install discourse locally
- Inside of your discourse directory, run:
bundle exec rake db:api_test_seed
- Start discourse:
bundle exec rails s
- Install bundler in the discourse_api directory, run
gem install bundler
- Inside of your discourse_api directory, run:
bundle exec rspec spec/
Issues are active, so feel free to submit on the Issues tab above.