Microsoft Word Add-in for editing texts of Smart Legal Contracts.
The following instructions will help you set up the project on your development environment.
- Operating System: Windows or MacOSX
- MS Word (preferably desktop version)
- Node JS (preferably v12 as it is the latest LTS)
-
Clone the project using HTTPS or SSH.
$ git clone https://github.com/accordproject/cicero-word-add-in.git
-
Install dependencies of the project.
npm i
-
Firing up the server diverge a little depending upon the OS you're using.
- On Windows: Run
npm startand it will start the server and automatically sideload the the add-in on the desktop version of MS Word. - On MacOSX: Run
npm run dev-serverfor starting the server and runnpm startto sideload the add-in.
- On Windows: Run
-
To test your add-in on the web, run
npm run start:weband this will start the server. You can then sideload the add-in on the web version of MS Word by following the steps given here. -
Once the add-in is successfully loaded, the icon for add-in will be displayed on the Home tab. Go there and click the button with name "Cicero Word Add-in".
-
For more information on setting up Word add-in for development, follow this documentation.
-
Web version: Open the browser's developer tools and see the console's output.
-
Desktop version
- Windows: Download the developer tool
separately. Once you are able to start the server and sideload the add-in,
you will see "Accord Project" as an option in the tool.

- Mac:
- Open a terminal and run the following 4 commands (this is a one-time setup step).
defaults write com.microsoft.Word OfficeWebAddinDeveloperExtras -bool true defaults write com.microsoft.Excel OfficeWebAddinDeveloperExtras -bool true defaults write com.microsoft.Powerpoint OfficeWebAddinDeveloperExtras -bool true defaults write com.microsoft.Outlook OfficeWebAddinDeveloperExtras -bool true- Sideload your add-in and open it in Word for Mac.
- Right click inside your add-in and choose "Inspect Element".
- The Safari Web Inspector console will automatically open, where you can
debug the add-in the same way you would debug a web app. (ie. use the
Consoletab to view printed logs and errors, theElementtab to inspect the HTML and CSS, theNetworktab for network calls, etc).
- Windows: Download the developer tool
separately. Once you are able to start the server and sideload the add-in,
you will see "Accord Project" as an option in the tool.
The Accord Project technology is being developed as open source. All the software packages are being actively maintained on GitHub and we encourage organizations and individuals to contribute requirements, documentation, issues, new templates, and code.
Find out what’s coming on our blog.
Join the Accord Project Technology Working Group Slack channel to get involved!
For code contributions, read our contribution guidelines.
ESLint has been integrated with this project to stay consistent with the code
practices we follow. Run npm run lint to check errors or npm run lint:fix to
fix those errors which ESLint is capable to fix.
Accord Project source code files are made available under the Apache License, Version 2.0. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0).
Copyright 2018-2019 Clause, Inc. All trademarks are the property of their respective owners. See LF Projects Trademark Policy.