This is a new initiative to enable web developers to quickly get up and running with Office add-ins.
Full credit here to the ASP.NET team who have already built Yeoman Generators ( http://blogs.msdn.com/b/webdev/archive/2014/12/17/yeoman-generators-for-asp-net-vnext.aspx) that helped me greatly get started here.
- Clone to your local directory
- From directory run the following to install the dependencies which is Yeoman, Bower, Grunt-CLI and Gulp:
npm install -g yo bower grunt-cli gulp
- You will need ot run this until this Yeoman generator is published publically or if you want to develop this generator further
npm link
#Contributors If you are interested in contributions, please reach out to Jeremy Thake (@jthake) and share your ideas! It would be great to really grow this into a uber scenario.
#Ideas
- create self sign cert and run node server (https://github.com/andrewconnell/TrainingContent/blob/master/O3657/O3657-3%20Building%20Office%20Apps%20for%20Outlook%20Using%20Angular%20and%20Material%20Design/self-signed-cert-osx.md)
- Deploy the manifest file to App Catalog in either Exchange or SharePoint
- open browser to either Outlook Online, Word Online, PowerPoint Online or Excel Online
- pull Azure AD client ID from API after login prompt
- don't pull Office.js from here... pull it from Bower
- command prompt overrides on "yo officeaddin" e.g. "yo officeadmin Excel"
- integrate typescript definitions into project from DefinitelyTyped.com for intellisense
- pull in Office UI fabric from Bower
- Project scaffolding for: Angular, NodeJs, Python, PHP, Ruby (alongside just standard HTML/JS that exists)
- Use Yeoman Composibility to daisy chain call generators (http://yeoman.io/authoring/composability.html)
Should also consider creating a CLI like Azure CLI to do this stuff https://azure.microsoft.com/en-us/documentation/articles/xplat-cli/ https://github.com/Azure/azure-xplat-cli
- Yeoman's getting started guide was useful (http://yeoman.io/authoring/index.html)
- Inquirer's documentation on the user interaction was useful for seeing different options (https://github.com/SBoudrias/Inquirer.js)
- John Papa's blog post on configuring NPM on OSX was extremely useful to prevent the need for sudo hackery (http://www.johnpapa.net/how-to-use-npm-global-without-sudo-on-osx/)