0

Deploy we are using truffle

truffle migrate --reset --compile-all --network rinkeby

when i am deploying i will be getting build folder in my project directory while deploying through the rinkeby will it take the build folder and deploy. or what file we are deploying in the solidity using these command

1 Answer 1

0

The migrate command of truffle will run the scripts in your migrations directory. See the documentation https://truffleframework.com/docs/truffle/getting-started/running-migrations in truffle site.

The --reset option will force to redeploy all your contracts.

The --compile-all will force recompilation of all your contracts.

2
  • what is the use of build directory in your project Commented Oct 19, 2018 at 4:58
  • Truffle uses the build directory to store compilation artifacts, bytecode, abi, deployment address, etc.
    – Ismael
    Commented Oct 19, 2018 at 16:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.