Browse Source

fixed OS X paths

miguelfreitas
Eugene Kuligin 10 years ago
parent
commit
68e0c6ada3
  1. 5
      README.md
  2. 14
      doc/build-osx.md

5
README.md

@ -167,7 +167,10 @@ in your twister data dir:
cd ~/.twister/ cd ~/.twister/
git clone https://github.com/miguelfreitas/twister-html.git ./html 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 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 hard coded as "user" and "pwd" in the web client so you'll need to specify

14
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/) You will also need to install [Homebrew](http://mxcl.github.io/homebrew/)
or [MacPorts](https://www.macports.org/) in order to install library 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. Homebrew.
The installation of the actual dependencies is covered in the Instructions The installation of the actual dependencies is covered in the Instructions
@ -63,7 +63,7 @@ Instructions: HomeBrew
make clean 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. See the Running instructions below.
Instructions: MacPorts (UNTESTED!!) Instructions: MacPorts (UNTESTED!!)
@ -84,7 +84,7 @@ Once installed dependencies, do:
If things go south, before trying again, make sure you clean it up: If things go south, before trying again, make sure you clean it up:
make clean make clean
Running Running
------- -------
@ -99,7 +99,7 @@ commands:
chmod 600 "/Users/${USER}/.twister/twister.conf" chmod 600 "/Users/${USER}/.twister/twister.conf"
When next you run it, it will start downloading the blockchain, but it won't 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. `connect: Operation timed out`, don't freak out, it seems to work fine.
Other commands: 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: 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 Once you do that, it will be available at http://localhost:28332/home.html
Troubleshooting 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 - Reboot your Mac

Loading…
Cancel
Save