Plugin for use with discourse docker image
Go to file
dependabot[bot] 19cbd60593
Bump path-parse from 1.0.6 to 1.0.7 (#118)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 10:14:25 +02:00
app FIX: Linting errors 2021-07-19 15:12:39 -04:00
assets FEATURE: Add indicator if plugin is official but forked (#96) 2021-03-22 18:17:52 +02:00
config Update translations (#97) 2021-03-16 15:45:05 +01:00
lib/docker_manager allow proxy env vars (#115) 2021-07-19 14:00:58 -04:00
manager-client Bump path-parse from 1.0.6 to 1.0.7 in /manager-client (#117) 2021-08-11 09:49:04 +02:00
public/images FEATURE: Add indicator if plugin is official but forked (#96) 2021-03-22 18:17:52 +02:00
scripts FIX: upgrade requests shouldn't timeout (#79) 2020-10-29 17:41:20 +03:00
spec FEATURE: Prefer `origin/main` over `origin/master` if it exists (#89) 2021-02-05 11:27:12 -05:00
.eslintrc DEV: Make ESLint ignore transpiled assets (#81) 2020-11-02 22:51:39 +03:00
.gitignore DEV: apply coding standards (#76) 2020-09-04 14:35:08 +02:00
.rubocop.yml DEV: Add rubocop-discourse gem 2020-05-06 17:46:03 +02:00
.template-lintrc.js DEV: apply coding standards (#76) 2020-09-04 14:35:08 +02:00
Gemfile DEV: Add rubocop-discourse gem 2020-05-06 17:46:03 +02:00
Gemfile.lock Bump rexml from 3.2.4 to 3.2.5 (#102) 2021-05-02 17:07:40 +02:00
LICENSE Update Readme and add License 2014-06-28 00:31:12 +05:30
README.md Ember upgrade to 3.6.1 (#49) 2019-01-03 09:21:34 +03:00
compile_client.sh FIX: Update client app to include message bus 2019-07-11 10:09:55 -04:00
dev_server DEV: upgrade Ember to 3.8 (#53) 2019-04-15 12:59:11 +10:00
docker-manager.sublime-project FIX: progress bar and upgrade log on subfolder installs 2017-01-12 14:09:58 -05:00
package.json DEV: apply coding standards (#76) 2020-09-04 14:35:08 +02:00
plugin.rb DEV: `assets.skip_minification` has been in stable for 6 years 2020-07-22 12:05:44 +02:00
translator.yml DEV: Switch from Transifex to Crowdin 2020-07-16 14:00:52 +02:00
yarn.lock Bump path-parse from 1.0.6 to 1.0.7 (#118) 2021-08-11 10:14:25 +02: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 and yarn
  • Clone this repo to desired folder path
  • In console, from folder path do cd manager-client, yarn 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
    • yarn install
  • Make sure your local Discourse instance is running at port 3000
  • Run ./dev_server which will run ember server for you with proxy to your local Discourse instance
    • 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.

Running tests

  • Ruby

    • Run RAILS_ENV=test bundle exec rake plugin:spec[docker_manager] in your discourse directory.
  • JS Tests

    • Run ember s in the /manager-client directory
    • Open up your favorite browser and head to http://localhost:4200/testsand you should see all passing/failing tests

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