-
Notifications
You must be signed in to change notification settings - Fork 85
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 on Git-Downloads,double-click to install it and open Git Bash.
You will need node >= 11
and yarn >= 1.12
to build and run this Neuron.
Download the latest version on Download|Node.js, double-click to install it, set the path and environment variables after installation.
Download the latest stable version on install|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 project 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
[Image: image.png] This command will start two tasks
- start
neuron-ui
, which works for the user interface. - start
neuron-wallet
, works for 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