Run test command to make sure your changes are correctĮNDPOINT='wss://ws./websockets/v3?l=en&app_id=1169' bot bot-example.js.Note: - Getting error "This site can’t be reached" on localhostĪnd now you are ready with your setup.Login to the binary account using the account credentials. Navigate to (Note that the protocol is http and not https) Make sure the Server is set to and O Auth App ID is 16014 Now we have to set the endpoint for running the application on the localhost.įor this, Go to. This will open the application in your default browser. Run npm start on the binarybot directory. Make sure to set the endpoint for running the application on the localhost Run Microsoft Notepad as an administrator.įrom Notepad, open the file: c:\Windows\System32\Drivers\etc\hostsĪdd a new entry pointing to 127.0.0.1 Add a new entry pointing to 127.0.0.1.Open hosts file in your preferred text editor using sudo vim /etc/hosts.If you are using a UNIX based system (Mac or Linux), Do the following: In order to run our application for the first time, you need to configure your hosts file: You will need to perform the following on your development machine:Ĭhange the current working directory to the location where you want the cloned directory.Ĭlone the forked repo using git clone Ĭreate a feature branch from master - git checkout -b. Please fork the project - to your git account. In order to work with Binary-Bot application, you must create your own version of this project.