| * Ember upgrade to 3.6.1 * ember-ajax printing deprecations; stop using it * Use tag versions when possible instead of hashes * Remove inline scripts for CSP * dump `git describe` errors * Commit hashes still needed for github diff link * Update READMEs * Production build * Make repo-status component more isolated * Minor tweaks * Get JS tests in a working state, and write tests for repo-status component * Add a note about tests in README * Apply Prettier * Production build #2 * We need vendor/message-bus.js | ||
|---|---|---|
| .tx | ||
| app | ||
| assets | ||
| bin | ||
| config | ||
| lib/docker_manager | ||
| manager-client | ||
| public/images | ||
| spec | ||
| .gitignore | ||
| .rubocop.yml | ||
| Gemfile | ||
| Gemfile.lock | ||
| LICENSE | ||
| README.md | ||
| compile_client.sh | ||
| dev_server | ||
| docker-manager.sublime-project | ||
| plugin.rb | ||
		
			
				
				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.jsandyarn
- 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_serverwhich 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
 
- If that gives errors, you may need to start your Discourse rails server like this: 
- 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.
 
- Run 
- 
JS Tests - Run ember sin the/manager-clientdirectory
- Open up your favorite browser and head to http://localhost:4200/testsand you should see all passing/failing tests
 
- Run 
Contributing
- 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
License
MIT