Author Topic: Ubuntu GUI how to?  (Read 11199 times)

0 Members and 1 Guest are viewing this topic.

Offline 麥可貓

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Can someone checkin the htdocs somewhere?

I literally followed what I posted above and did not asked for any missed files.
PTS: PmRVDPymZqSAZEXauHZSewrUrE66af7epT
BTSX: michaelcat
Delegate Team: x1.sun  x2.sun

38PTSWarrior

  • Guest
Oh that's good news!

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Can someone checkin the htdocs somewhere?

i almost have a PPA ready, don't know how much time I'll have to work on it today though. that should make installation really easy
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BitShares: speedy
Can someone checkin the htdocs somewhere?

Offline 麥可貓

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
There is a guide for building qt_wallet of BitSharesX in ubuntu 14.04 here.
However, it's in chinese. So I roughly translate it as the following:

1. Install necessary packages:
Code: [Select]
$sudo apt-get update
$sudo apt-get install cmake git libreadline-dev uuid-dev g++ libdb++-dev libdb-dev zip libssl-dev openssl build-essential python-dev autotools-dev libicu-dev libbz2-dev libboost-dev libboost-all-dev
in Ubuntu 14.04, you also have to install qt5.3.0 and node.js from their official sites.

2. Fetch the source code

Code: [Select]
$ git clone https://github.com/BitShares/bitshares_toolkit.git
$ cd bitshares_toolkit
$ git submodule init
$ git submodule update
$ git checkout 0.2.1
$cmake -DINCLUDE_QT_WALLET=ON CMakeLists.txt

3. Prepare the web wallet
Code: [Select]
$ sudo npm install -g lineman
$ cd programs/web_wallet && npm install
$ cd ../../ && make buildweb

4. Build and run your qt_wallet
Code: [Select]
$ makeand you will get your qt_wallet at bitsharesx/programs/qt_wallet:
Code: [Select]
$ bitsharesx/programs/qt_wallet/BitSharesX

« Last Edit: July 23, 2014, 02:27:45 pm by 麥可貓 »
PTS: PmRVDPymZqSAZEXauHZSewrUrE66af7epT
BTSX: michaelcat
Delegate Team: x1.sun  x2.sun

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BitShares: speedy
I can post the htdocs somewhere when I get home.

So lineman is only used to generate the docs - thanks puppies  +5%

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
I can post the htdocs somewhere when I get home.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BitShares: speedy
Is there no way to compile the qt-wallet without pulling in the whole of node.js onto my box?

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
edit.  here are some updated instructions.

Code: [Select]
sudo apt-get update
sudo apt-get install cmake git libreadline-dev uuid-dev g++ libdb++-dev libdb-dev zip libssl-dev openssl build-essential python-dev autotools-dev libicu-dev libbz2-dev libboost-dev libboost-all-dev qt5-default libqt5webkit5-dev npm nodejs-legacy
git clone https://github.com/dacsunlimited/bitsharesx.git
cd bitsharesx
git checkout 0.4.5 (use the version number you want to build in this place.)
git submodule init
git submodule update
cd programs/web_wallet
sudo npm install -g lineman
sudo npm install
cd ../..
cmake -DINCLUDE_QT_WALLET=ON .
make buildweb
make

If all goes well you will have an executable named BitSharesX in /bitsharesx/programs/qt_wallet/bin that will be your gui wallet.

This is how I have been doing it.

To upgrade
Code: [Select]
cd bitsharesx
git pull https://github.com/dacsunlimited/bitsharesx.git "put version number here without quotes"
git submodule update
cmake -DINCLUDE_QT_WALLET=ON .
make buildweb
make

This last update threw an error at the make buildweb step about htdocs already existing.  I ended up just renaming bitsharesx/programs/qt_wallet/htdocs and trying again.
« Last Edit: August 22, 2014, 12:13:13 am by puppies »
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline bytemaster

System Ubuntu 14.04
I complied bitsharesx.git (hat to increase the swap).
How do I run the GUI wallet in Ubuntu? Do I follow instructions in /qt_wallet/README.md ?
Are there different wallets (webwallet and desktop wallet) or just one?
Thanks!

BUILD_OSX has instructions that should be helpful for Ubuntu as well.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline santaclause102

  • Hero Member
  • *****
  • Posts: 2486
    • View Profile
System Ubuntu 14.04
I complied bitsharesx.git (hat to increase the swap).
How do I run the GUI wallet in Ubuntu? Do I follow instructions in /qt_wallet/README.md ?
Are there different wallets (webwallet and desktop wallet) or just one?
Thanks!