forked from LBRYCommunity/lbry-sdk
fix formatting more
This commit is contained in:
parent
eabaca361c
commit
cc7471a9af
1 changed files with 28 additions and 0 deletions
28
RUNNING.md
28
RUNNING.md
|
@ -4,31 +4,48 @@ Quickest quick guide
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
Create a directory called lbry, and go into that directory
|
Create a directory called lbry, and go into that directory
|
||||||
|
|
||||||
Download the file https://raw.githubusercontent.com/lbryio/lbry-setup/master/lbry_setup.sh and run it in that directory
|
Download the file https://raw.githubusercontent.com/lbryio/lbry-setup/master/lbry_setup.sh and run it in that directory
|
||||||
|
|
||||||
Once it's done building, type:
|
Once it's done building, type:
|
||||||
|
|
||||||
./lbrycrd/src/lbrycrdd -server -daemon -gen
|
./lbrycrd/src/lbrycrdd -server -daemon -gen
|
||||||
|
|
||||||
lbrynet-gui
|
lbrynet-gui
|
||||||
|
|
||||||
A window should show up with an entry box
|
A window should show up with an entry box
|
||||||
|
|
||||||
Type wonderfullife into the box, hit go, and choose to stream or save
|
Type wonderfullife into the box, hit go, and choose to stream or save
|
||||||
|
|
||||||
To stop lbrycrdd:
|
To stop lbrycrdd:
|
||||||
|
|
||||||
./lbrycrd/src/lbrycrd-cli stop
|
./lbrycrd/src/lbrycrd-cli stop
|
||||||
|
|
||||||
Slightly longer install guide
|
Slightly longer install guide
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
Acquire the LBRYcrd source code from https://github.com/lbryio/lbrycrd
|
Acquire the LBRYcrd source code from https://github.com/lbryio/lbrycrd
|
||||||
|
|
||||||
cd lbrycrd
|
cd lbrycrd
|
||||||
|
|
||||||
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev libdb-dev libdb++-dev libqt4-dev libprotobuf-dev protobuf-compiler
|
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev libdb-dev libdb++-dev libqt4-dev libprotobuf-dev protobuf-compiler
|
||||||
|
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
./configure --with-incompatible-bdb
|
./configure --with-incompatible-bdb
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
When make has completed, create the directory where LBRYcrd data will be stored. ~/.lbrycrd is where LBRYcrd will look by default and so is recommended.
|
When make has completed, create the directory where LBRYcrd data will be stored. ~/.lbrycrd is where LBRYcrd will look by default and so is recommended.
|
||||||
|
|
||||||
mkdir ~/.lbrycrd
|
mkdir ~/.lbrycrd
|
||||||
|
|
||||||
vim ~/.lbrycrd/lbrycrd.conf
|
vim ~/.lbrycrd/lbrycrd.conf
|
||||||
|
|
||||||
Add the following lines to enable the RPC interface, which will be used by lbrynet-console.
|
Add the following lines to enable the RPC interface, which will be used by lbrynet-console.
|
||||||
|
|
||||||
rpcuser=rpcuser
|
rpcuser=rpcuser
|
||||||
|
|
||||||
rpcpassword=rpcpassword
|
rpcpassword=rpcpassword
|
||||||
|
|
||||||
(use a long random password if your computer is on a network anyone else has access to)
|
(use a long random password if your computer is on a network anyone else has access to)
|
||||||
|
@ -36,23 +53,32 @@ rpcpassword=rpcpassword
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
Acquire the LBRYnet source code from https://github.com/lbryio/lbry
|
Acquire the LBRYnet source code from https://github.com/lbryio/lbry
|
||||||
|
|
||||||
cd lbry
|
cd lbry
|
||||||
sudo apt-get install libgmp3-dev build-essential python-dev python-pip
|
sudo apt-get install libgmp3-dev build-essential python-dev python-pip
|
||||||
|
|
||||||
(with virtualenv)
|
(with virtualenv)
|
||||||
|
|
||||||
python-virtualenv
|
python-virtualenv
|
||||||
|
|
||||||
virtualenv .
|
virtualenv .
|
||||||
|
|
||||||
source bin/activate
|
source bin/activate
|
||||||
|
|
||||||
python setup.py install
|
python setup.py install
|
||||||
|
|
||||||
to deactivate the virtualenv later:
|
to deactivate the virtualenv later:
|
||||||
|
|
||||||
deactivate
|
deactivate
|
||||||
|
|
||||||
to reactivate it, go to the directory in which you created it and:
|
to reactivate it, go to the directory in which you created it and:
|
||||||
|
|
||||||
source bin/activate
|
source bin/activate
|
||||||
|
|
||||||
(without virtualenv)
|
(without virtualenv)
|
||||||
|
|
||||||
python setup.py build bdist_egg
|
python setup.py build bdist_egg
|
||||||
|
|
||||||
sudo python setup.py install
|
sudo python setup.py install
|
||||||
|
|
||||||
Slightly longer running guide
|
Slightly longer running guide
|
||||||
|
@ -77,6 +103,8 @@ To shut lbrycrdd down: from the lbrycrd directory, run
|
||||||
|
|
||||||
Running lbrynet-console
|
Running lbrynet-console
|
||||||
|
|
||||||
|
If you used the virtualenv instructions above, make sure the virtualenv is still active. If not, reactivate it according to the instructions above.
|
||||||
|
|
||||||
In your terminal:
|
In your terminal:
|
||||||
|
|
||||||
lbrynet-console
|
lbrynet-console
|
||||||
|
|
Loading…
Reference in a new issue