Main Menu

Demo Wallet

Started by bytemaster, July 23, 2014, 10:28:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sfinder

#20
Quote from: blahblah7up on July 24, 2014, 07:56:03 AM
Password to access the server (demo/demo) works fine.  Password to demo the wallet?

demo wallet is running @  http://54.191.7.103:8080/.  for public access.

access user: demo
password:demo

wallet password is "176173.com"

i will deposit 10btsx for demo test only. please try not to use more than 0.1 for testing .

in the mean time . account "dac.twitter" accept donation for demo testing purpose.


following are links to show you how to create a btsx account

http://wiki.bitshares.org/index.php/Bitshares-x-how-to#Creating_accounts

http://wiki.bitshares.org/index.php/Bitshares-x-how-to
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
和中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

blahblah7up

Password to access the server (demo/demo) works fine.  Password to demo the wallet?

sfinder

#18
yep. it is working now . I will leave this server working from now on.  special thanks to alt's hint <grin>

demo wallet is running @  http://54.191.7.103:8080/.  for public access.

access user: demo
password:demo

wallet password is "176173.com"

Quote from: bytemaster on July 24, 2014, 02:45:47 AM
Quote from: sfinder on July 24, 2014, 02:22:25 AM
./bitshares_client --data-dir demo --server --httpport 8080 --rpcuser demo --rpcpassword demo

cd ~/bitshares/bitsharesx/programs/web_wallet
lineman run


please check http://54.191.7.103:8080/. everything look fine but demo/demo  doesn't work.

did i miss any steps ?

Seems to be working for me now.
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
和中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

bytemaster

Quote from: sfinder on July 24, 2014, 02:22:25 AM
./bitshares_client --data-dir demo --server --httpport 8080 --rpcuser demo --rpcpassword demo

cd ~/bitshares/bitsharesx/programs/web_wallet
lineman run


please check http://54.191.7.103:8080/. everything look fine but demo/demo  doesn't work.

did i miss any steps ?

Seems to be working for me now.
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

alt

Do you change the path of htdocs?
this if my config

  "rpc": {
    "enable": false,
    "rpc_user": "",
    "rpc_password": "",
    "rpc_endpoint": "127.0.0.1:0",
    "httpd_endpoint": "127.0.0.1:0",
    "htdocs": "./htdocs"

my webpage path is here : /home/alt/workspace/bitsharesx/programs/web_wallet/generated/
so I run this

ln -sf  /home/alt/workspace/bitsharesx/programs/web_wallet/generated/  ./htdocs

sfinder

#15
./bitshares_client --data-dir demo --server --httpport 8080 --rpcuser demo --rpcpassword demo

cd ~/bitshares/bitsharesx/programs/web_wallet
lineman run


please check http://54.191.7.103:8080/. everything look fine but demo/demo  doesn't work.

did i miss any steps ?
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
和中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

sfinder

fixed by following cmd

sudo apt-get install nodejs-legacy

Quote from: sfinder on July 24, 2014, 01:42:32 AM
got following error while running
sudo npm install -g lineman  ----- this one has no problem.
sudo npm install --- got following error

> [email protected] postinstall /home/ubuntu/bitsharesx/programs/web_wallet/node_modules/lineman-less
> node script/postinstall.js

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! weird error 127
npm ERR! not ok code 0


Quote from: alt on July 24, 2014, 01:09:52 AM
Quote from: sfinder on July 24, 2014, 12:55:48 AM

working on it now. compiling ...................

please post the cmd to run web_wallet

./bitshares_client --data-dir demo --server --httpport 8080 --rpcuser demo --rpcpassword demo

after first run, edit demo/config.json
change this line
    "httpd_endpoint": "127.0.0.1:0",
to
    "httpd_endpoint": "0.0.0.0:0",
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
和中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

sfinder

got following error while running
sudo npm install -g lineman  ----- this one has no problem.
sudo npm install --- got following error

> [email protected] postinstall /home/ubuntu/bitsharesx/programs/web_wallet/node_modules/lineman-less
> node script/postinstall.js

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! weird error 127
npm ERR! not ok code 0


Quote from: alt on July 24, 2014, 01:09:52 AM
Quote from: sfinder on July 24, 2014, 12:55:48 AM

working on it now. compiling ...................

please post the cmd to run web_wallet

./bitshares_client --data-dir demo --server --httpport 8080 --rpcuser demo --rpcpassword demo

after first run, edit demo/config.json
change this line
    "httpd_endpoint": "127.0.0.1:0",
to
    "httpd_endpoint": "0.0.0.0:0",
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
和中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

alt

Quote from: sfinder on July 24, 2014, 12:55:48 AM

working on it now. compiling ...................

please post the cmd to run web_wallet

./bitshares_client --data-dir demo --server --httpport 8080 --rpcuser demo --rpcpassword demo

after first run, edit demo/config.json
change this line
    "httpd_endpoint": "127.0.0.1:0",
to
    "httpd_endpoint": "0.0.0.0:0",

dexinwong

#11
 :)

bytemaster

Quote from: sfinder on July 24, 2014, 12:55:48 AM

working on it now. compiling ...................

please post the cmd to run web_wallet

programs/web_wallet README   --- these instructions could be simplified...


Install node.js:

   http://nodejs.org/download/

Install Lineman and dependencies via the following commands:


    $ npm install -g lineman 
    $ npm install

Find more information here [https://travis-ci.org/linemanjs/lineman-angular-template](https://travis-ci.org/linemanjs/lineman-angular-template)


## Usage

1. Specify path to web_wallet/generated as htdocs in client's config.json. e.g.
```
{
  "rpc": {
    "rpc_user": "test",
    "rpc_password": "test",
    "rpc_endpoint": "127.0.0.1:0",
    "httpd_endpoint": "127.0.0.1:0",
    "htdocs": "/Users/dlarimer/dev/web_wallet/generated"
  },
  "default_peers": [
    "107.170.30.182:8764",
    "114.215.104.153:8764",
    "84.238.140.192:8764"
  ],
  "ignore_console": false,
  "logging": {
    "includes": [],
    "appenders": [],
    "loggers": []
  }
}
```

2. Start either bitshares_client (with --server option).
```
./bitshares_client --data-dir w1 --server --httpport 9989
```

3. Run lineman: $ lineman run

4. Open http://localhost:9989, if application is working it should load the idex page (may ask for credentials if client is using HTTP Basic Auth)

5. Now you can edit application's html, js and css files located in web_wallet/app.

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

sfinder


working on it now. compiling ...................

please post the cmd to run web_wallet
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
和中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Empirical1


toast

Quote from: sfinder on July 23, 2014, 11:48:32 PM
Ok. I will work on it after dinner . Will a linux box work? Which release and  on which network? Main or test?

Quote from: toast on July 23, 2014, 11:41:08 PM
Quote from: sfinder on July 23, 2014, 11:31:47 PM
I would like to have a try. Please let me know all the requirements.

run a node and serve web_wallet via the web

main net, most recent stable
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

sfinder

Ok. I will work on it after dinner . Will a linux box work? Which release and  on which network? Main or test?

Quote from: toast on July 23, 2014, 11:41:08 PM
Quote from: sfinder on July 23, 2014, 11:31:47 PM
I would like to have a try. Please let me know all the requirements.

run a node and serve web_wallet via the web
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
和中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

toast

Quote from: sfinder on July 23, 2014, 11:31:47 PM
I would like to have a try. Please let me know all the requirements.

run a node and serve web_wallet via the web
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

sfinder

#4
Quote from: blahblah7up on July 24, 2014, 07:56:03 AM
Password to access the server (demo/demo) works fine.  Password to demo the wallet?

demo wallet is running @  http://54.191.7.103:8080/.  for public access.

access user: demo
password:demo

wallet password is "176173.com"

i will deposit 10btsx for demo test only. please try not to use more than 0.1 for testing .

in the mean time . account "dac.twitter" accept donation for demo testing purpose.


following are links to show you how to create a btsx account

http://wiki.bitshares.org/index.php/Bitshares-x-how-to#Creating_accounts

http://wiki.bitshares.org/index.php/Bitshares-x-how-to
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
和中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

toast

I'll do it after work
(ha ha "after" amirite)

edit: actually if someone else wants to please do
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

cass

█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

bytemaster

Anyone care to setup a "demo wallet" accessible to everyone on the web?
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.