Bitcoin Forum
December 08, 2016, 08:13:37 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: BlackMarketClient ui ready to try  (Read 1541 times)
Nefario
Hero Member
*****
Offline Offline

Activity: 602


GLBSE Support support@glbse.com


View Profile WWW
March 01, 2011, 11:01:10 AM
 #1

Demo client ready
The working title of our stock market platform is BlackMarket.

Were building a client that will be available under the FreeBSD licence.

The client (bmc) is a console based application, because of the cryptography involved trades cannot be made using the web browser currently. One of the goals of this client is to make it very easy to use.

And so, with much thanks to Ryland Taylor-Almanza who is working on this we have the first available user interface to play with.

You'll need Linux, and a working installation of ruby(we're using 1.9.2 but I think 1.8.6/7 may work, have not tested).

Files to download are bmcmenu-0.0.1.gem and bmc

Install with
Code:
gem install bmcmenu-0.0.1.gem
then run bmc from the same directory with
Code:
./bmc


I would recommend anyone who is investing in this to give the client interface a try and make any suggestions.

All suggestions welcome, also before anyone asks, the client when finally ready will automatically create a new trade account on the server when run for the first time, so it should be almost zero config to start using.

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481228017
Hero Member
*
Offline Offline

Posts: 1481228017

View Profile Personal Message (Offline)

Ignore
1481228017
Reply with quote  #2

1481228017
Report to moderator
1481228017
Hero Member
*
Offline Offline

Posts: 1481228017

View Profile Personal Message (Offline)

Ignore
1481228017
Reply with quote  #2

1481228017
Report to moderator
ribuck
Donator
Legendary
*
Offline Offline

Activity: 826


View Profile
March 01, 2011, 11:42:15 AM
 #2

I have ruby 1.8.7 but not gem. Any idea what Fedora package contains gem?
Nefario
Hero Member
*****
Offline Offline

Activity: 602


GLBSE Support support@glbse.com


View Profile WWW
March 01, 2011, 11:49:35 AM
 #3

I have ruby 1.8.7 but not gem. Any idea what Fedora package contains gem?

Seriously your best option is to install rvm, and use that to install various versions of ruby, it makes it really easy.

http://rvm.beginrescueend.com/

If not then you can try to install ruby-gems

Download http://production.cf.rubygems.org/rubygems/rubygems-1.5.3.tgz
Unpack into a directory and cd there
Install with: ruby setup.rb (you may need admin/root privilege)

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
ribuck
Donator
Legendary
*
Offline Offline

Activity: 826


View Profile
March 01, 2011, 11:59:59 AM
 #4

Seriously your best option is to install rvm...
Seriously, if the BlackMarketClient requires messing about with dependencies, it's not going to take off.

I love ruby as an elegant and powerful programming language, and if I was developing for a ruby project I would willingly install all this stuff. But these dependencies are not appropriate for someone who just wants to run an end-user application.
Nefario
Hero Member
*****
Offline Offline

Activity: 602


GLBSE Support support@glbse.com


View Profile WWW
March 01, 2011, 12:12:51 PM
 #5

Seriously your best option is to install rvm...
Seriously, if the BlackMarketClient requires messing about with dependencies, it's not going to take off.

I love ruby as an elegant and powerful programming language, and if I was developing for a ruby project I would willingly install all this stuff. But these dependencies are not appropriate for someone who just wants to run an end-user application.

Well this is the development stage, when we're working on basic functionality as opposed to ease of install. Once we do a major release, it really will be a case of download and run with no fuss, across a number of platforms (including windows).

You don't have to use rvm(I did give instructions for you to just go ahead and install ruby gems), it's just something I recommend if you're playing around with ruby.

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
myrkul
Hero Member
*****
Offline Offline

Activity: 532


FIAT LIBERTAS RVAT CAELVM


View Profile WWW
March 01, 2011, 12:39:48 PM
 #6

I installed rubygems from the repos, and after a little tweaking (they made the executable named gem1.9 for some odd reason...) I got it installed...
I go to run it and I get this unusual error:

Code:
$ ./bmc
/usr/bin/env: ruby: No such file or directory

So, how do I fix?

BTC1MYRkuLv4XPBa6bGnYAronz55grPAGcxja
Need Dispute resolution? Public Key ID: 0x11D341CF
No person has the right to initiate force, threat of force, or fraud against another person or their property. VIM VI REPELLERE LICET
ribuck
Donator
Legendary
*
Offline Offline

Activity: 826


View Profile
March 01, 2011, 12:59:59 PM
 #7


Code:
$ ./bmc
/usr/bin/env: ruby: No such file or directory

So, how do I fix?

I got it to work by using "ruby ./bmc" instead of "./bmc".

I also got this message when installing using Nefario's instructions, but I guess it's nothing to worry about:

Quote
ERROR: RDoc documentation generator not installed: no such file to load -- rdoc/rdoc
Nefario
Hero Member
*****
Offline Offline

Activity: 602


GLBSE Support support@glbse.com


View Profile WWW
March 01, 2011, 01:08:56 PM
 #8


Code:
$ ./bmc
/usr/bin/env: ruby: No such file or directory

So, how do I fix?

I got it to work by using "ruby ./bmc" instead of "./bmc".

I also got this message when installing using Nefario's instructions, but I guess it's nothing to worry about:

Quote
ERROR: RDoc documentation generator not installed: no such file to load -- rdoc/rdoc

So the error when just running bmc is that your ruby environment is not set in your shell (or something like that) and just going ruby bmc works just as well.

The error is absolutely nothing to worry about, it's just looking for rdoc which it doesn't need.

Thanks ribuck.

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
myrkul
Hero Member
*****
Offline Offline

Activity: 532


FIAT LIBERTAS RVAT CAELVM


View Profile WWW
March 01, 2011, 01:19:48 PM
 #9

This one is not so innocent:
Code:
bmc:3:in `require': no such file to load -- bmcmenu (LoadError)
from bmc:3:in `<main>'

My bad, or yours? 'cause it might as well be greek to me, i don't know ruby from a hole in the ground.

BTC1MYRkuLv4XPBa6bGnYAronz55grPAGcxja
Need Dispute resolution? Public Key ID: 0x11D341CF
No person has the right to initiate force, threat of force, or fraud against another person or their property. VIM VI REPELLERE LICET
Nefario
Hero Member
*****
Offline Offline

Activity: 602


GLBSE Support support@glbse.com


View Profile WWW
March 01, 2011, 01:25:12 PM
 #10

This error means the bmcmenu gem has not been installed, at least thats what it normally means.

run this to see if you have it installed
Code:
gem list

If not install then in the directory with the gem file run
Code:
gem install bmcmenu-0.0.1.gem

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
myrkul
Hero Member
*****
Offline Offline

Activity: 532


FIAT LIBERTAS RVAT CAELVM


View Profile WWW
March 01, 2011, 01:28:49 PM
 #11

It's in there...
Code:
*** LOCAL GEMS ***

bmcmenu (0.0.1)
highline (1.6.1)

BTC1MYRkuLv4XPBa6bGnYAronz55grPAGcxja
Need Dispute resolution? Public Key ID: 0x11D341CF
No person has the right to initiate force, threat of force, or fraud against another person or their property. VIM VI REPELLERE LICET
Nefario
Hero Member
*****
Offline Offline

Activity: 602


GLBSE Support support@glbse.com


View Profile WWW
March 01, 2011, 01:46:14 PM
 #12

Could you tell me the output for
Code:
irb
Gem.path
exit
Have a look in the directories listed and see if the gems are in there. Tell us the output.

Also try
Code:
irb
require 'rubygems'
require 'bmcmenu'
And let us know the results.

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
myrkul
Hero Member
*****
Offline Offline

Activity: 532


FIAT LIBERTAS RVAT CAELVM


View Profile WWW
March 01, 2011, 02:06:24 PM
 #13

Code:
irb(main):002:0> Gem.path
=> ["/var/lib/gems/1.9.0"]
That directory was nonexistent. I forgot to "sudo gem install"... and it put it all in  ~/.gem

Copied the files over, and now I have:

Code:
--Menu--

1. Get Bitcoin Balance
2. List Portfolio
3. Trade
4. Orders
5. Trade History
6. Deposit Bitcoins to my Account
7. Exit Program


Which is what I assume is what I'm supposed to see. Smiley  Sorry guys. Stupid, sleepy mistake.

BTC1MYRkuLv4XPBa6bGnYAronz55grPAGcxja
Need Dispute resolution? Public Key ID: 0x11D341CF
No person has the right to initiate force, threat of force, or fraud against another person or their property. VIM VI REPELLERE LICET
Nefario
Hero Member
*****
Offline Offline

Activity: 602


GLBSE Support support@glbse.com


View Profile WWW
March 01, 2011, 02:16:12 PM
 #14

That's exactly what you're supposed to see. It's just a menu, doesn't do anything yet but it will allow us to workout what people want. That's the whole point, this thing has to be easy to use.

Thanks for going to the trouble of installing, I appreciate it.

Once we get closer to the release, it will just be a simple bundle that's downloaded and should run without any configuration. Which will get rid of any of this messing about.

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
myrkul
Hero Member
*****
Offline Offline

Activity: 532


FIAT LIBERTAS RVAT CAELVM


View Profile WWW
March 01, 2011, 02:38:25 PM
 #15

No problem. I figure, what better way to idiot-proof a program, than to throw an idiot at it...

when it comes time, I'd be glad to help you get it packed into a .deb package.

BTC1MYRkuLv4XPBa6bGnYAronz55grPAGcxja
Need Dispute resolution? Public Key ID: 0x11D341CF
No person has the right to initiate force, threat of force, or fraud against another person or their property. VIM VI REPELLERE LICET
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!