MaidSafe Dev Update - April 20, 2017

OK I give up on Windows. Life’s too short, it’s a nice day and the Launcher is not long for this world anyway.

A packaged Linux version as a zip file can be downloaded here. Just use it in the normal way.

Annoyingly you still have to ask for an authentication code even though the network is not real. EDIT: You don’t have to - just make one up.

If you fancy building the Launcher yourself here are the steps I took (basically a fleshed out version of these instructions GitHub - maidsafe-archive/safe_launcher: Node.js App for SAFE Launcher for Ubuntu / Debian linux)

  1. Install node and npm
    $ sudo apt-get install nodejs npm

  2. Install nvm so you can choose node version 6.5 - not sure if later versions work too, I didn’t try. Possibly you can miss this step. https://github.com/creationix/nvm#installation

  3. Install Rust version 1.16.0
    $ curl https://sh.rustup.rs -sSf | sh
    Follow the instructions and select defaults

  4. Type $ source $HOME/.cargo/env

  5. Download safe_client_libs-master.zip from https://github.com/maidsafe/safe_client_libs (or clone the repo). Extract it somewhere, e.g. home folder.

  6. Download safe_launcher-master.zip from https://github.com/maidsafe/safe_launcher (or clone the repo). Extract it somewhere, e.g. home folder.

  7. In a terminal cd into the safe_client_libs-master directory and run

$ cargo build --release --features use-mock-routing

Make a cup of tea. It takes a while…

  1. Then copy libsafe_core.so from the safe_client_libs-master/target/release subfolder to safe_launcher-master/app/ffi

  2. In a terminal cd into safe_launcher-master directory and run

$ npm install

then

$ npm run rebuild-native

  1. Once that’s done, to start the launcher with mock routing run:

$ npm run dev

  1. To make a distribution package use command based on the platform:

$ npm run package

this will generate the package files in the release subfolder.

Have fun :slight_smile:

18 Likes