Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.04 KB

linkOdsLibrary.md

File metadata and controls

25 lines (18 loc) · 1.04 KB

Local Development with Linked ODS Library

To facilitate testing and development of the Aragon ODS library locally, you can create a link to the @aragon/ods package and integrate it into your Aragon App environment. In order to do so, follow the steps below:

  1. Navigate to the @aragon/ods directory and execute the following commands to create a link to the package and initiate continuous building in watch mode:

    ```
    yarn link
    yarn build:watch
    ```
    

    This will enable real-time updates as you make changes to the ODS library.

  2. Move to the @aragon/app directory and use the linked @aragon/ods package. Initiate the development server in watch mode using the following commands:

    ```
    yarn link @aragon/ods
    yarn dev:watch
    ```
    

    With this setup, any change made to the @aragon/ods library files will trigger an automatic rebuild of the package. Consequently, the Aragon App server will be reloaded, ensuring that the latest changes from the ODS library are integrated.