July 2018
Beginner
106 pages
2h 24m
English
Moving ahead, we need to make sure that the project settings are corresponding to the hostname and the port on which our blockchain was created. To do this, you need to go back to your editor, find the truffle.js file that is situated in the root folder, and change the port number here from 7545 to 8545 to match the port number that is hosting our development blockchain. There will be no need to make any changes to the host as that is just the localhost. Then, proceed to deploying your project on the terminal window, in the my_first_project folder. Use the following command:
C:\Windows\System32\my_project>truffle-cli compile
Read now
Unlock full access