Browse Source

merge samples into contrib

master
shsmith 8 years ago
parent
commit
5ef25976c4
  1. 9
      contrib/README.md
  2. 0
      contrib/daemontools/env/COIN
  3. 0
      contrib/daemontools/env/DAEMON_URL
  4. 0
      contrib/daemontools/env/DB_DIRECTORY
  5. 0
      contrib/daemontools/env/ELECTRUMX
  6. 0
      contrib/daemontools/env/NETWORK
  7. 0
      contrib/daemontools/env/USERNAME
  8. 0
      contrib/daemontools/log/run
  9. 0
      contrib/daemontools/run
  10. 0
      contrib/python3.6/python-3.6.sh
  11. 0
      contrib/raspberrypi3/install_electrumx.sh
  12. 0
      contrib/raspberrypi3/run_electrumx.sh
  13. 0
      contrib/systemd/electrumx.conf
  14. 0
      contrib/systemd/electrumx.service
  15. 30
      docs/HOWTO.rst

9
contrib/README.md

@ -1,9 +0,0 @@
Installation Guides
-------------------
### [Ubuntu 16.04](/contrib/ubuntu1604deploy) ###
Scripts and notes for deployment under Ubuntu 16.04.
### [Raspberry Pi 3](/contrib/raspberrypi3deploy) ###
Scripts and notes for deployment on Raspberry Pi 3.

0
samples/daemontools/env/COIN → contrib/daemontools/env/COIN

0
samples/daemontools/env/DAEMON_URL → contrib/daemontools/env/DAEMON_URL

0
samples/daemontools/env/DB_DIRECTORY → contrib/daemontools/env/DB_DIRECTORY

0
samples/daemontools/env/ELECTRUMX → contrib/daemontools/env/ELECTRUMX

0
samples/daemontools/env/NETWORK → contrib/daemontools/env/NETWORK

0
samples/daemontools/env/USERNAME → contrib/daemontools/env/USERNAME

0
samples/daemontools/log/run → contrib/daemontools/log/run

0
samples/daemontools/run → contrib/daemontools/run

0
contrib/ubuntu1604deploy/python-3.6.sh → contrib/python3.6/python-3.6.sh

0
contrib/raspberrypi3deploy/install_electrumx.sh → contrib/raspberrypi3/install_electrumx.sh

0
contrib/raspberrypi3deploy/run_electrumx.sh → contrib/raspberrypi3/run_electrumx.sh

0
samples/systemd/electrumx.conf → contrib/systemd/electrumx.conf

0
samples/systemd/electrumx.service → contrib/systemd/electrumx.service

30
docs/HOWTO.rst

@ -108,7 +108,7 @@ to at least 2,500.
Note that setting the limit in your shell does *NOT* affect ElectrumX
unless you are invoking ElectrumX directly from your shell. If you
are using `systemd`, you need to set it in the `.service` file (see
`samples/systemd/electrumx.service`_).
`contrib/systemd/electrumx.service`_).
Using daemontools
@ -136,7 +136,7 @@ you might do::
Then copy the all sample scripts from the ElectrumX source tree there::
cp -R /path/to/repo/electrumx/samples/daemontools ~/scripts/electrumx
cp -R /path/to/repo/electrumx/contrib/daemontools ~/scripts/electrumx
This copies 3 things: the top level server run script, a log/ directory
with the logger run script, an env/ directory.
@ -172,7 +172,7 @@ Using systemd
This repository contains a sample systemd unit file that you can use to
setup ElectrumX with systemd. Simply copy it to :code:`/etc/systemd/system`::
cp samples/systemd/electrumx.service /etc/systemd/system/
cp contrib/systemd/electrumx.service /etc/systemd/system/
The sample unit file assumes that the repository is located at
:code:`/home/electrumx/electrumx`. If that differs on your system, you need to
@ -199,6 +199,24 @@ minutes to flush cached data to disk during initial sync. You should
set TimeoutStopSec to *at least* 10 mins in your `.service` file.
Installing Python 3.6 under Ubuntu
----------------------------------
Many Ubuntu distributions have an incompatible Python version baked in.
Because of this, it is easier to install Python 3.6 rather than attempting
to update Python 3.5.2 to 3.5.3. See `contrib/python3.6/python-3.6.sh`_.
Installing on Raspberry Pi 3
----------------------------
To install on the Raspberry Pi 3 you will need to update to the "stretch" distribution.
See the full procedure in `contrib/raspberrypi3/install_electrumx.sh`_.
See also `contrib/raspberrypi3/run_electrumx.sh`_ for an easy way to configure and
launch electrumx.
Sync Progress
=============
@ -377,10 +395,14 @@ copy of your certificate and key in case you need to restore them.
.. _`ENVIRONMENT.rst`: https://github.com/kyuupichan/electrumx/blob/master/docs/ENVIRONMENT.rst
.. _`samples/systemd/electrumx.service`: https://github.com/kyuupichan/electrumx/blob/master/samples/systemd/electrumx.service
.. _`contrib/systemd/electrumx.service`: https://github.com/kyuupichan/electrumx/blob/master/contrib/systemd/electrumx.service
.. _`daemontools`: http://cr.yp.to/daemontools.html
.. _`runit`: http://smarden.org/runit/index.html
.. _`aiohttp`: https://pypi.python.org/pypi/aiohttp
.. _`pylru`: https://pypi.python.org/pypi/pylru
.. _`IRC`: https://pypi.python.org/pypi/irc
.. _`x11_hash`: https://pypi.python.org/pypi/x11_hash
.. _`contrib/python3.6/python-3.6.sh`: https://github.com/kyuupichan/electrumx/blob/master/contrib/contrib/python3.6/python-3.6.sh
.. _`contrib/raspberrypi3/install_electrumx.sh`: https://github.com/kyuupichan/electrumx/blob/master/contrib/contrib/raspberrypi3/install_electrumx.sh
.. _`contrib/raspberrypi3/run_electrumx.sh`: https://github.com/kyuupichan/electrumx/blob/master/contrib/contrib/raspberrypi3/run_electrumx.sh

Loading…
Cancel
Save