BitShares Forum
Main => General Discussion => Topic started by: bytemaster on July 23, 2014, 10:28:16 pm
-
Anyone care to setup a "demo wallet" accessible to everyone on the web?
-
nobody?
-
I'll do it after work
(ha ha "after" amirite)
edit: actually if someone else wants to please do
-
Password to access the server (demo/demo) works fine. Password to demo the wallet?
demo wallet is running @ http://54.191.7.103:8080/ (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#Creating_accounts)
http://wiki.bitshares.org/index.php/Bitshares-x-how-to (http://wiki.bitshares.org/index.php/Bitshares-x-how-to)
-
I would like to have a try. Please let me know all the requirements.
run a node and serve web_wallet via the web
-
Ok. I will work on it after dinner . Will a linux box work? Which release and on which network? Main or test?
I would like to have a try. Please let me know all the requirements.
run a node and serve web_wallet via the web
-
Ok. I will work on it after dinner . Will a linux box work? Which release and on which network? Main or test?
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
-
+5% Good idea
-
working on it now. compiling ...................
please post the cmd to run web_wallet
-
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.
-
:)
-
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",
-
got following error while running
sudo npm install -g lineman ----- this one has no problem.
sudo npm install --- got following error
> lineman-less@0.0.1 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
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",
-
fixed by following cmd
sudo apt-get install nodejs-legacy
got following error while running
sudo npm install -g lineman ----- this one has no problem.
sudo npm install --- got following error
> lineman-less@0.0.1 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
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",
-
./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/ (http://54.191.7.103:8080/). everything look fine but demo/demo doesn't work.
did i miss any steps ?
-
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
-
./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/ (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.
-
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/ (http://54.191.7.103:8080/). for public access.
access user: demo
password:demo
wallet password is "176173.com"
./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/ (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.
-
Password to access the server (demo/demo) works fine. Password to demo the wallet?
-
Password to access the server (demo/demo) works fine. Password to demo the wallet?
demo wallet is running @ http://54.191.7.103:8080/ (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#Creating_accounts)
http://wiki.bitshares.org/index.php/Bitshares-x-how-to (http://wiki.bitshares.org/index.php/Bitshares-x-how-to)