he development dependency of this project is Node.js v5.5. Build safe_core with the mock Routing feature:
cargo build --release --features use-mock-routing
then copy the resulting shared library (safe_core.dll
for Windows, libsafe_core.so
for Linux or libsafe_core.dylib
for OS X) to the app/api/ffi
folder of this project.
The launcher can be developed/tested only with ffi with mock feature or by running a local network only.
So just make sure you have it installed. Then type few commands known to every Node developer...
npm install
npm start
npm install
It will also download Electron runtime, and install dependencies for second package.json
& bower.json
file inside app
folder.
npm start
Remember to add your dependency to app/package.json
file, so do:
cd app
npm install name_of_npm_module --save
To run it go with standard:
npm test
To make ready for distribution package use command based on the platform:
npm run package
this will generate the package files in the app_dist
folder
To make ready for distribution installer use command:
npm run release
It will start the packaging process for operating system you are running this command on. Ready for distribution file will be outputted to releases
directory.
You can create Windows installer only when running on Windows, the same is true for Linux and OSX. So to generate all three installers you need all three operating systems.
The Mac release supports code signing. To sign the .app
in the release image, include the certificate ID in the command as so,
npm run release -- --sign A123456789
The installer is built using NSIS. You have to install NSIS version 3.0, and add its folder to PATH in Environment Variables.
Licensed under either of
- the MaidSafe.net Commercial License, version 1.0 or later (LICENSE)
- the General Public License (GPL), version 3 (COPYING or http://www.gnu.org/licenses/gpl-3.0.en.html)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the MaidSafe Contributor Agreement, version 1.1 ([CONTRIBUTOR] (CONTRIBUTOR)), shall be dual licensed as above, and you agree to be bound by the terms of the MaidSafe Contributor Agreement, version 1.1.