Please see CONTRIBUTING.md for more information.
git clone https://github.com/LiskHQ/lisk-hub.git
cd lisk-hub
npm install
npm run dev
For ease of development, you can setItem
in localStorage
to see network options in login page:
localStorage.setItem('showNetwork', true)
You can also pass the same key-value pair as query string:
http://localhost:8080/#/?showNetwork=true
npm run build
Start the Electron client. Before staring you need to make sure the application is built. If you need to built the entire application, run
npm run build
as mentioned before. And if you want to solely build electron app, run
npm run build-electron
Then, in order to launch electron, you can run
npm run start
Build package for Windows (on Windows in Git BASH).
npm run pack:win
Build package for macOS (on macOs)
npm run pack
Build package for Linux (on Linux).
npm run pack
npm run test
npm run test-live
In order to run e2e tests you need to install lisk-core
Setup protractor
./node_modules/protractor/bin/webdriver-manager update
Setup a lisk test node to run on localhost:4000 as described in https://github.com/LiskHQ/lisk#tests
And run it with pm2.
Start the development version of lisk-hub:
npm run dev
Run the protractor tests (replace ~/git/lisk/
with your path to lisk core):
./e2e-test-setup.sh ~/git/lisk/
npm run e2e-test
To launch storybook sandbox with components run
npm run storybook
and navigate to
See contributors section.
Copyright © 2016-2018 Lisk Foundation
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.