-
Get node dependencies and crypto dependencies (run this once).
git clone [email protected]:mitro-co/browser-ext.git cd browser-ext/api; ./build.sh
(Sometimes you can incur in this error)
-
Build
cd browser-ext/login && make
-
Go to chrome://extensions. Check the developer mode box.
-
Click Load unpacked extension ->
browser-ext/login/build/chrome/release
This requires server code.
-
Checkout dependencies in the directory above
browser-ext
:git clone [email protected]:mitro-co/mitro-core.git
-
Symlink mitro-core to
browser-ext/api/server
:ln -s ../../mitro-core/ browser-ext/api/server
-
Run regression tests:
cd api/js/cli && ./runtests.sh
We can't use symlinks to edit files in place because Chrome does not load symlinked resources: