signal-desktop/README.md

35 lines
1.1 KiB
Markdown
Raw Normal View History

2014-03-06 18:12:24 +00:00
TextSecure Chromium Implementation
==================================
This is very early stuff and exists primarily to get the crypto in place.
Note that the code is currently quite messy (its all in one file!), but it
needs to work first, then it can be heavily cleaned up later.
Getting Started with Development
================================
* Clone the repo
* Open Chrome
* Go to chrome://extensions/
* Enable developer mode (checkbox on the top right)
* Click "Load unpacked extension..."
* Point to the repo's directory
Tests
=====
Please write tests! Our testing framework is mocha and our assertion library is
chai:
* http://visionmedia.github.io/mocha/
* http://chaijs.com/api/assert/
Tips/Tricks
===========
2014-06-10 00:11:46 +00:00
* For Dev purposes, the test server always uses code 111111
2014-07-26 12:13:40 +00:00
* Loading the `test.html` page may read, write or clear localStorage. To avoid
having to choose between running tests and preserving your existing messages,
2014-07-26 12:13:40 +00:00
keys, and other extension data, much of the test suite can be run by starting
a local webserver in the repository root, e.g. `python -m SimpleHTTPServer`.
You can then access the test page at `http://0.0.0.0:8000`.