Skip to content

Local development

Nafis Zaman edited this page Jul 27, 2021 · 1 revision

When making changes to ivygate, it's useful to test those changes in a dependent project like kipr/Simulator. Here is the recommended process for making local changes to ivygate, using Simulator as an example:

  1. Clone ivygate locally.
  2. Build ivygate by following the steps in the ivygate README.
  3. Create a link for the local ivygate installation:
    cd ivygate
    yarn link
    
    and switch your local Simulator to use this linked version:
    cd Simulator
    yarn link ivygate
    
  4. Make changes to ivygate and rebuild. The changes will be reflected in Simulator.

Once finished, return to the original state:

  1. Revert to the original version of ivygate in Simulator:
    cd Simulator
    yarn unlink ivygate
    yarn install
    
  2. Remove the ivygate link:
    cd ivygate
    yarn unlink
    
Clone this wiki locally