-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quick start not working..help! #28
Comments
I'm not windows user so I didn’t test it but try this. c:\path\to\naivechain> set HTTP_PORT=3001 or fix the start script in package.json {
...
"scripts": {
"start": "set HTTP_PORT=3001 && set P2P_PORT=6001 && node main.js"
}
...
} And then execute |
Hello sir.
Thank you for reply.
You helped me put in into practice.
Thank you very much!
For Windows
1. CMD
set HTTP_PORT=3001
set P2P_PORT=6001
npm start
2. CMD
set HTTP_PORT=3002
set P2P_PORT=6002
set PEERS=ws://localhost:6001
npm start
3. CMD (downloaded curl for windows)
curl -H "Content-type:application/json" --data "{\"data\" : \"Somedatatothefirstblock\"}" http://localhost:3001/mineBlock
![execute](https://user-images.githubusercontent.com/36914763/37016530-0a8ad2c4-2150-11e8-8a6b-eb0b8244d462.PNG)
|
You may run it in linux OS, it is much easier. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello.
I can't know how to execute quick start..
Command is not working..( I downloaded node js and npm)
please help me..
The text was updated successfully, but these errors were encountered: