smart-contract deployment: 1.npm install -g truffle 2.truffle migrate tips: 1.configuration doc 2.run migrations on a specific network: truffle migrate --network live