NNTP bridge to keep NNTP & Discourse in sync
Primarily used for keeping CSH Discourse in sync with the CSH news server.
https://github.com/sman591/discourse-nntp-bridge.gitas a plugin
NEWS_PASSWORDenvironment variables to your
- Rebuild your app:
./launcher rebuild app
- Enter the app:
./launcher enter app
rake discourse_nntp_bridge:assign_newsgroupsto assign newsgroups to your already-created categories
The only required environment variable is
NEWS_PASSWORD are both optional, and at least one of the two must be present in order to send authentication along with NNTP.
Most of the NNTP communication was written by Alex Grant for CSH WebNews, and is used/adapted upon heavily throughout this plugin.
Development requires running a local copy of the latest-release of Discourse.
Assuming you store repositories in
~/dev, the Discourse repo should be located at
~/dev/discourse and the NNTP bridge repo should be at
cd ~/dev/ git clone firstname.lastname@example.org:discourse/discourse.git cd discourse git fetch --tags git checkout tags/latest-release cd plugins && ln -s ../../discourse-nntp-bridge && cd ../
This clones Discourse, checks out the
latest-release tag, and adds
discourse-nntp-bridge to the plugin directory via a symlink --- making it easy to make changes to the plugin in development.
After this, you'll want to get Discourse set up & running locally. See Discourse's README for more info!