Skip to content

Latest commit

 

History

History
 
 

browser-ext

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

browser-ext

Setup

  1. Mac: Install Homebrew. Run brew install node or download node from the web. (apt-get is too old).

  2. Get node dependencies and crypto dependencies (run this once)

     git clone [email protected]:mitro-co/browser-ext.git
     cd browser-ext/api; ./build.sh
    
  3. Build

     cd browser-ext/login && make
    
  4. Go to chrome://extensions. Check the developer mode box.

  5. Click Load unpacked extension -> browser-ext/login/build/chrome/release

If you want to run regression tests:

This requires server code.

  1. Checkout dependencies in the directory above browser-ext:

     git clone [email protected]:mitro-co/mitro-core.git
    
  2. Symlink mitro-core to browser-ext/api/server:

     ln -s ../../mitro-core/ browser-ext/api/server
    
  3. Run regression tests:

     cd api/js/cli && ./runtests.sh
    

Notes

We can't use symlinks to edit files in place because Chrome does not load symlinked resources:

http://code.google.com/p/chromium/issues/detail?id=27185