To deploy contracts to a specified network, follow these steps:
- set the environment variable "network" to the name of the network ("ganache", "kovan", "live"). The default is "ganache". Truffle will use this to find the specified network settings in truffle.js.
- if needed, set
network
, andgasLimit_deployment
in /config/default.json. - make sure that /migrations/founders.json has an entry for your network, with the appropriate founders
- run
npm start migrateContracts
Note: For safety, truffle.js specifies a different HTTP port for each network.