This plugin allows to embed any published document, spreadsheet, forms, and/or Presentation from Google Drive.
this plugin has been merged in offical Onebox gem. So no need to install this if you are using the latest version.
For standlone instalation follow these steps.
As seen in a how-to on meta.discourse.org, simply add the plugin's repo url to your container's app.yml file:
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- mkdir -p plugins
- git clone https://github.com/discourse/docker_manager.git
- git clone https://github.com/naveed-ahmad/google_docs_onebox.git
- Rebuild the container
cd /var/docker
git pull
./launcher rebuild app
- Make sure document,spreadsheet and presentation is published. You can puslish by clicking on "File => Publish" menu
- Copy the URL from address bar and past in discourse editor
Contributions are welcome. Report issue, even better send pull if you find any bug :)