Plugin for use with discourse docker image
Go to file
Robin Ward 8f6be9c592 SECURITY: Make sure a repo exists before acting on it
Also includes refactors to clean up linting / code, adds specs
and changes the usage pattern to something safer
2018-06-15 15:15:17 -04:00
.tx add pull_translations.rb 2017-11-15 11:16:23 -05:00
app SECURITY: Make sure a repo exists before acting on it 2018-06-15 15:15:17 -04:00
assets UX: only show upgrade notice for admins 2018-06-13 11:01:39 +02:00
bin add pull_translations.rb 2017-11-15 11:16:23 -05:00
config Use our `AdminConstraint` to simplify auth 2018-06-15 13:15:34 -04:00
lib/docker_manager SECURITY: Make sure a repo exists before acting on it 2018-06-15 15:15:17 -04:00
manager-client Clean up th border top 2018-06-01 15:10:08 -07:00
public/images Use a font-awesome image instead. 2018-04-25 13:01:12 +08:00
spec SECURITY: Make sure a repo exists before acting on it 2018-06-15 15:15:17 -04:00
.gitignore gitignore .DS_Store 2017-08-17 10:33:37 -04:00
.rubocop.yml Use our `AdminConstraint` to simplify auth 2018-06-15 13:15:34 -04:00
Gemfile add pull_translations.rb 2017-11-15 11:16:23 -05:00
Gemfile.lock add pull_translations.rb 2017-11-15 11:16:23 -05:00
LICENSE Update Readme and add License 2014-06-28 00:31:12 +05:30
README.md FIX: progress bar and upgrade log on subfolder installs 2017-01-12 14:09:58 -05:00
compile_client.sh FIX: progress bar and upgrade log on subfolder installs 2017-01-12 14:09:58 -05:00
dev_server.js Correct banner detection 2014-12-23 15:01:59 +11:00
docker-manager.sublime-project FIX: progress bar and upgrade log on subfolder installs 2017-01-12 14:09:58 -05:00
plugin.rb SECURITY: Make sure a repo exists before acting on it 2018-06-15 15:15:17 -04:00

README.md

Docker Manager

This plugin works with the Discourse docker image. It allows you to perform upgrades via the web UI and monitor activity in the container.

Development Notes

  • Install node.js, bower, grunt
  • Clone this repo to desired folder path
  • In console, from folder path do cd manager-client, npm install, bower install
  • Create a symlink for this folder in your local Discourse instance "plugins" folder (eg. path/to/your/discourse_folder/plugins/discourse_manager)
  • Make sure your Discourse instance is running locally at port 3000 and you are logged in as Admin

The Client App

  • Install the client app dependencies:
    • cd manager-client
    • npm install
    • bower install
  • Use ember server --proxy "http://localhost:3000" to proxy to your Discourse instance running on port 3000
    • If that gives errors, you may need to start your Discourse rails server like this: bundle exec rails s -b 127.0.0.1
  • JUST open up a browser to port 4200 and you're off to the races!

The client application is built using Ember CLI.

To create a compiled version for distribution, run ./compile_client.sh to compile the site and move it into the proper directories.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

MIT