BitShares Forum

Main => Technical Support => Topic started by: monsterer on November 06, 2015, 03:01:13 pm

Title: Building lite wallet
Post by: monsterer on November 06, 2015, 03:01:13 pm
Are there any instructions about how to compile / build the lite wallet?

I want to make a pull request to add metaexchange to the wallet, but to do that, I need to be able to test my changes :)
Title: Re: Building lite wallet
Post by: cass on November 06, 2015, 03:06:23 pm
at the end just

https://github.com/cryptonomex/graphene-ui

Code: [Select]
cd cli; npm install
cd ../dl; npm install
cd ../ios; npm install
cd ../web; npm install

then just open chrome or whatever browser at http://localhost:8080

then u are able to customize or develop additional features just working within /web/app

Title: Re: Building lite wallet
Post by: monsterer on November 06, 2015, 03:07:13 pm
Thanks cass - and this is not the web wallet? Are they separate?
Title: Re: Building lite wallet
Post by: valzav on November 06, 2015, 03:39:45 pm
After you run
Code: [Select]
npm run build in web/ dir, the package files will be copied to electron/build, so you need to go to electron dir and type
Code: [Select]
npm run release to create light wallet installer.
Title: Re: Building lite wallet
Post by: cass on November 06, 2015, 03:42:13 pm
Thanks cass - and this is not the web wallet? Are they separate?

The light wallet is  the web wallet just built on Electron (http://electron.atom.io/) AFAIK
Title: Re: Building lite wallet
Post by: monsterer on November 06, 2015, 04:54:20 pm
Thanks cass - and this is not the web wallet? Are they separate?

The light wallet is  the web wallet just wrapped built on Electron (http://electron.atom.io/) AFAIK

Thanks :)

Any idea where this logs runtime errors? I've got errors in my react component, but not sure what they are :)
Title: Re: Building lite wallet
Post by: valzav on November 06, 2015, 05:24:35 pm
Thanks cass - and this is not the web wallet? Are they separate?

The light wallet is  the web wallet just wrapped built on Electron (http://electron.atom.io/) AFAIK

Thanks :)

Any idea where this logs runtime errors? I've got errors in my react component, but not sure what they are :)

Look at console in DevTools (available via View menu).
Title: Re: Building lite wallet
Post by: monsterer on November 06, 2015, 05:42:00 pm
Look at console in DevTools (available via View menu).

Ahh, yes, thanks...

When I get a webpackMissingModule exception, is it possible to see why the module didn't compile?
Title: Re: Building lite wallet
Post by: speedy on November 06, 2015, 06:35:50 pm
npm install usually fixes errors about missing stuff - you need npm install inside ./electron as well.
Title: Re: Building lite wallet
Post by: monsterer on November 06, 2015, 07:04:58 pm
npm install usually fixes errors about missing stuff - you need npm install inside ./electron as well.

I've caused the errors by changing the module, tho - I'd like to know what they were tho :)
Title: Re: Building lite wallet
Post by: svk on November 06, 2015, 09:50:01 pm
Why are you working with the light wallet though? Would be much easier to just use the web wallet..
Title: Re: Building lite wallet
Post by: monsterer on November 08, 2015, 07:53:31 pm
Ok, so I've made some changes to the web wallet which look good, but now I want to build the lite wallet with my changes, so I can hand it out for testing - how can I build it?
Title: Re: Building lite wallet
Post by: cass on November 08, 2015, 11:49:57 pm
Ok, so I've made some changes to the web wallet which look good, but now I want to build the lite wallet with my changes, so I can hand it out for testing - how can I build it?

After you run
Code: [Select]
npm run build in web/ dir, the package files will be copied to electron/build, so you need to go to electron dir and type
Code: [Select]
npm run release to create light wallet installer.