Skip to content

Latest commit

 

History

History
 
 

web_hosting_manager

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SAFE Hosting Manager

Prerequisites

SAFE Hosting Manager uses keytar module as its dependency. Please install the prerequisites mentioned here based on the platform.

Install

  • Note: requires a node version 6.5.0 and an npm version 3.10.3

First, clone the repo via git:

$ git clone https://github.com/maidsafe/safe_examples && cd safe_examples/web_hosting_manager

And then install Node.js dependencies.

$ yarn

Finally, rebuild the native modules

$ yarn run rebuild

Run

Run these two commands simultaneously in different console tabs.

$ yarn run hot-server
$ yarn run start-hot

or run two servers with one command

$ yarn run dev

Packaging

To package apps for the local platform:

$ yarn run package

Further commands

To run the application without packaging run

$ yarn run build
$ yarn start

Clear Access Data

#####macOs Click SAFE Hosting Manager -> Clear Access Data from the menu. #####Windows and Linux Click File -> Clear Access Data from the menu.

License

Licensed under either of

at your option.

Contribution

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.