From 68e0c6ada329bd57e9ee69e095955c3b970dc8e4 Mon Sep 17 00:00:00 2001 From: Eugene Kuligin Date: Sun, 19 Apr 2015 10:42:47 +0300 Subject: [PATCH] fixed OS X paths --- README.md | 5 ++++- doc/build-osx.md | 14 +++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 0e5daa0b..d6f4ed8e 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,10 @@ in your twister data dir: cd ~/.twister/ git clone https://github.com/miguelfreitas/twister-html.git ./html -(In OS X go to cd ${HOME}/Library/Application\ Support/Twister) +In OS X + + cd ~/Library/Application\ Support/twister + git clone https://github.com/miguelfreitas/twister-html.git ./html Next, run the twister daemon. The RPC username and password are currently hard coded as "user" and "pwd" in the web client so you'll need to specify diff --git a/doc/build-osx.md b/doc/build-osx.md index 24567b0b..aa87c310 100644 --- a/doc/build-osx.md +++ b/doc/build-osx.md @@ -29,7 +29,7 @@ available via Homebrew or MacPorts. You will also need to install [Homebrew](http://mxcl.github.io/homebrew/) or [MacPorts](https://www.macports.org/) in order to install library -dependencies. It's largely a religious decision which to choose, but I tested only with +dependencies. It's largely a religious decision which to choose, but I tested only with Homebrew. The installation of the actual dependencies is covered in the Instructions @@ -63,7 +63,7 @@ Instructions: HomeBrew make clean -If all went well, you should now have a twisterd executable in the twister-core directory. +If all went well, you should now have a twisterd executable in the twister-core directory. See the Running instructions below. Instructions: MacPorts (UNTESTED!!) @@ -84,7 +84,7 @@ Once installed dependencies, do: If things go south, before trying again, make sure you clean it up: make clean - + Running ------- @@ -99,7 +99,7 @@ commands: chmod 600 "/Users/${USER}/.twister/twister.conf" When next you run it, it will start downloading the blockchain, but it won't -output anything while it's doing this. This process may take several hours. If you see a lonely +output anything while it's doing this. This process may take several hours. If you see a lonely `connect: Operation timed out`, don't freak out, it seems to work fine. Other commands: @@ -111,12 +111,12 @@ Other commands: In order to get the HTML interface, you'll have to download it and link it in .twister: - git clone https://github.com/miguelfreitas/twister-html.git /Users/${USER}/.twister/html + git clone https://github.com/miguelfreitas/twister-html.git /Users/${USER}/Library/Application\ Support/twister/html Once you do that, it will be available at http://localhost:28332/home.html Troubleshooting ------- -1) You get "DHT network down" in WEB interface on /network.html page +1) You get "DHT network down" in WEB interface on /network.html page - Reboot your Mac - +