-
Notifications
You must be signed in to change notification settings - Fork 83
Neuron: Get Started on Windows
Neuron is an official CKB wallet and an open source project on github, so it’s recommended that install Git for windows and the following steps are performed on Git Bash.
- Install Git and open Git Bash
Download Git for windows from Git-Downloads,double-click to install it and open Git Bash.
You will need node >= 12
and yarn >= 1.14
to build and run this Neuron.
Download the latest version from Download|Node.js, double-click to install it, set the path and environment variables after installation.
Download the latest stable version on installation|Yarn, double-click to install it, set the path and environment variables after installation.
open Git Bash and clone source code from github.
$ git clone https://github.com/nervosnetwork/neuron.git
$ cd neuron
Neuron uses lerna for packages management. It can be installed globally, or locally in the project.
$ yarn global add lerna # install lerna globally# or
$ yarn add lerna --exact --ignore-workspace-root-check # install lerna locally in the project
After lerna installed, the dependencies can be installed by
$ yarn bootstrap
$ yarn start
This command will start two tasks
- start
neuron-ui
, which loads the user interface. - start
neuron-wallet
, which provides the wallet functionality.
They are also able to start independently:
# start neuron-ui at `http://localhost:3000`
$ cd packages/neuron-ui && yarn start
# start neuron-wallet
$ cd packages/neuron-wallet && yarn start:dev
# launch the test runner in the watch mode.
$ yarn test