Skip to content
Permalink
Browse files

Improved README.md

Capitalisation and english
  • Loading branch information...
PaulRomerolegal committed Aug 24, 2017
1 parent d6f194c commit b77e79d4023e90cdb7b37277e7c57c0a53b82073
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
@@ -1,17 +1,17 @@
# SuperNET_API

make sure you have google-chrome, chromium is having different instructions
Make sure you have google-chrome, chromium has different instructions
http://askubuntu.com/questions/510056/how-to-install-google-chrome

launch chrome with --allow-nacl-socket-api=localhost command line arg
Launch chrome with --allow-nacl-socket-api=localhost command line arg

```
git clone https://github.com/jl777/SuperNET_API;
cd SuperNET_API;
tools/httpd.py -C . -p 7777 &
```

now you can go to http://localhost:7777
Now you can go to http://localhost:7777

To issue API calls use SNapi:

@@ -21,7 +21,7 @@ gcc -o SNapi SNapi.c plugins/utils/cJSON.c -lnanomsg -lm
./SNapi "{\"plugin\":\"InstantDEX\",\"method\":\"allexchanges\"}"
```

You can change any of the html or JS files and just refresh to test it. After the first clone, just a git pull and refresh the page.
You can change any of the html or JS files and just refresh to test it. After the first clone, just do a git pull and refresh the page.

To recompile the pexe files from scratch, you need to setup a nacl_sdk toolchain (https://developer.chrome.com/native-client/sdk/download) and copy the toolchain directory into the SuperNET_API directory. From there make will recompile, make serve will recompile and launch httpd.py localhost server.

0 comments on commit b77e79d

Please sign in to comment.
You can’t perform that action at this time.