Diff
Not logged in

Differences From Artifact [d00b690d1e]:

To Artifact [fae4fc0c6e]:


4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19




20
21




22




23
24
25
26








27
28
29
30
31
32
33

SAFE Authenticator plugin for SAFE Browser.

|Linux/OS X|Windows|
|:---:|:--------:|
|[![Build Status](https://travis-ci.org/maidsafe/beaker-plugin-safe-authenticator.svg?branch=master)](https://travis-ci.org/maidsafe/beaker-plugin-safe-authenticator)|[![Build status](https://ci.appveyor.com/api/projects/status/04100mp7gtjnr3c1/branch/master?svg=true)](https://ci.appveyor.com/project/MaidSafe-QA/beaker-plugin-safe-authenticator/branch/master)|


## Dependency

This project depends on [safe_client_libs](https://github.com/maidsafe/safe_client_libs). The dependency is specified as a git submodule.

## Development

Rust and Node.js are required for development.





1. Clone the project
2. Run `git submodule update --init`




3. Run `npm install` to install the Node.js dependencies




4. Build the native modules `npm run build-native-mock && npm run build-system-uri`
5. `npm run build` will build the project to the `dist` folder

In [safe_browser](https://github.com/maidsafe/safe_browser/) `app/node_modules`, create a folder called `beaker-plugin-safe-authenticator` and add the `index.js` file and the `dist` folder obtained after building the plugin.









# License

Licensed under either of

* the MaidSafe.net Commercial License, version 1.0 or later ([LICENSE](LICENSE))
* the General Public License (GPL), version 3 ([COPYING](COPYING) or http://www.gnu.org/licenses/gpl-3.0.en.html)







<


|



|

>
>
>
>

<
>
>
>
>
|
>
>
>
>
|
<
|
<
>
>
>
>
>
>
>
>







4
5
6
7
8
9
10

11
12
13
14
15
16
17
18
19
20
21
22
23

24
25
26
27
28
29
30
31
32
33

34

35
36
37
38
39
40
41
42
43
44
45
46
47
48
49

SAFE Authenticator plugin for SAFE Browser.

|Linux/OS X|Windows|
|:---:|:--------:|
|[![Build Status](https://travis-ci.org/maidsafe/beaker-plugin-safe-authenticator.svg?branch=master)](https://travis-ci.org/maidsafe/beaker-plugin-safe-authenticator)|[![Build status](https://ci.appveyor.com/api/projects/status/04100mp7gtjnr3c1/branch/master?svg=true)](https://ci.appveyor.com/project/MaidSafe-QA/beaker-plugin-safe-authenticator/branch/master)|


## Dependency

This project depends on [safe_client_libs](https://github.com/maidsafe/safe_client_libs) and [system_uri](https://github.com/maidsafe/system_uri). The dependencies are specified as git submodule.

## Development

### Prerequisites

  * Node.js 6.5.0 (we recommend installing it via [nvm](https://github.com/creationix/nvm))
  * Rust stable (we recommend installing it from [rust-lang.org](https://www.rust-lang.org/en-US/))
  * [Git](https://git-scm.com/)

1. Clone the project

    ```bash
    $ git clone https://github.com/maidsafe/beaker-plugin-safe-authenticator.git
    ```

2. Install the Node.js dependencies.
    ```bash
    $ npm i
    ```

3. Build the native modules

   

   ```
   $ npm run build-libs
   ``` 
   > Add `--` before using following options.
   * If you specify `--features=mock-routing` binary will use mock routing or else actual routing will be used.
   * If you specify `--clean`, will clean all the cargo dependencies installed and do a fresh build. To manually clean the dependencies run `npm run clean-libs`.
   
4. `npm run build` will build the project to the `dist` folder.

# License

Licensed under either of

* the MaidSafe.net Commercial License, version 1.0 or later ([LICENSE](LICENSE))
* the General Public License (GPL), version 3 ([COPYING](COPYING) or http://www.gnu.org/licenses/gpl-3.0.en.html)