8000 Added instructions for Mac · coderlv/stratum-mining-proxy@168fa6e · GitHub
[go: up one dir, main page]

Skip to content

Commit 168fa6e

Browse files
author
slush
committed
Added instructions for Mac
1 parent 5eeb205 commit 168fa6e

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,21 @@ Installation on Linux
2323
proxy connects to Slush's pool interface.
2424
5. If you want to connect to another pool or change other proxy settings, type "mining_proxy.py --help".
2525

26-
Installation using Github
27-
-------------------------
26+
Installation on Mac
27+
-------------------
28+
1. Download TGZ file from https://github.com/slush0/stratum-mining-proxy/tarball/master
29+
2. Unpack it by typing "tar xf slush0-stratum-mining_proxy*.tar.gz"
30+
3. On Mac OS X you already have Python installed on your system, but you lack the llvm-gcc-4.2 binary required to run the setup.py file, so:
31+
3. a) If you don't want to install Xcode, get gcc here: https://github.com/kennethreitz/osx-gcc-installer
32+
3. b) OR download Xcode (free) from the App Store, Open it up (it's in your applications folder) and go to preferences, to the downloads section and download/install the 'command line tools'. This will install llvm-gc-4.2.
33+
4. Type "sudo python setup.py install" in the unpacked directory from step 2.
34+
5. You can start the proxy by typing "./mining_proxy.py" in the terminal window. Using default settings, proxy connects to Slush's pool interface.
35+
6. If you want to connect to another pool or change other proxy settings, type "mining_proxy.py --help".
36+
37+
N.B. Once Apple releases Xcode 4.7 they will remove the optional install of gcc (they want you to use clang). When that happens you can either choose not to upgrade, or return to the aforementioned https://github.com/kennethreitz/osx-gcc-installer and download the specific gcc binary for your version of Mac OS.
38+
39+
Installation on Linux using Git
40+
-------------------------------
2841
This is advanced option for experienced users, but give you the easiest way for updating the proxy.
2942

3043
1. git clone git://github.com/slush0/stratum-mining-proxy.git

0 commit comments

Comments
 (0)
0